From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,ccc963ff28188d78 X-Google-Attributes: gid103376,public From: Steve O'Neill Subject: Re: Putting a 'Duration' on the screen ? Date: 1999/01/18 Message-ID: <36A37C1F.2A4C3188@top.monad.net>#1/1 X-Deja-AN: 434081036 Content-Transfer-Encoding: 7bit References: <36A37529.69BFB3FF@cs.kuleuven.ac.be> Content-Type: text/plain; charset=us-ascii Organization: Self Mime-Version: 1.0 Newsgroups: comp.lang.ada Date: 1999-01-18T00:00:00+00:00 List-Id: Emmanuel Lambert wrote: > I am freaking out because I would like to output a variable from type > Duration to the screen, but it does not work with put(...). I have > included Ada.Float_Text_Io, but that does not help. Can someone give me > a hint. The hint is - Duration is not a floating point type, it's a fixed point type. Either instantiate Fixed_IO for Duration or convert the duration object to float.