comp.lang.ada
 help / color / mirror / Atom feed
From: Steve O'Neill <oneills@top.monad.net>
Subject: Re: Putting a 'Duration' on the screen ?
Date: 1999/01/18
Date: 1999-01-18T00:00:00+00:00	[thread overview]
Message-ID: <36A37C1F.2A4C3188@top.monad.net> (raw)
In-Reply-To: 36A37529.69BFB3FF@cs.kuleuven.ac.be

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.





  reply	other threads:[~1999-01-18  0:00 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-01-18  0:00 Putting a 'Duration' on the screen ? Emmanuel Lambert
1999-01-18  0:00 ` Steve O'Neill [this message]
1999-01-19  0:00   ` Matthew Heaney
1999-01-18  0:00 ` Tom Moran
1999-01-18  0:00 ` Emmanuel Lambert
1999-01-18  0:00 ` robert_dewar
1999-01-18  0:00 ` Marin David Condic
1999-01-18  0:00   ` David C. Hoos, Sr.
1999-01-18  0:00     ` Marin David Condic
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox