comp.lang.ada
 help / color / mirror / Atom feed
From: nexus@nexus.webhour.net (Lee Jun Wei)
Subject: Re: newbie: fixed_text_io and decimals
Date: 24 Mar 2004 10:02:32 -0800
Date: 2004-03-24T10:02:32-08:00	[thread overview]
Message-ID: <1314ac77.0403241002.580c7606@posting.google.com> (raw)
In-Reply-To: 08E7c.1$6D5.0@dfw-service2.ext.ray.com

"jdpetrey<NO_SPAM>" <"jdpetrey<NO_SPAM>"@raytheon.com> wrote in message news:<08E7c.1$6D5.0@dfw-service2.ext.ray.com>...
> There is no standard fixed type so you need to instantiate a version of 
> Fixed_Io for your type.  Try adding:
> 
> package Decimal_IO is new Ada.Text_Io.Fixed_Io(Decimal); use Decimal_Io;
> 
> after your type definition and then you can Put and Get those type values.
> (get rid of the with ada.fixed_text_Io)
> 
> Jerry
> 
> 

Thanks Jerry and Stephe. I was looking through my tutorials agains
(Lovelace's among others and found it in one of the examples as well.)



      reply	other threads:[~2004-03-24 18:02 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-21  2:47 newbie: fixed_text_io and decimals Lee Jun Wei
2004-03-21 13:28 ` Stephen Leake
2004-03-22 16:04 ` jdpetrey<NO_SPAM>
2004-03-24 18:02   ` Lee Jun Wei [this message]
replies disabled

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