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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,c9045fff6a55db79 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2004-03-24 10:02:33 PST Path: archiver1.google.com!postnews2.google.com!not-for-mail From: nexus@nexus.webhour.net (Lee Jun Wei) Newsgroups: comp.lang.ada Subject: Re: newbie: fixed_text_io and decimals Date: 24 Mar 2004 10:02:32 -0800 Organization: http://groups.google.com Message-ID: <1314ac77.0403241002.580c7606@posting.google.com> References: <1314ac77.0403201847.3cb55265@posting.google.com> <08E7c.1$6D5.0@dfw-service2.ext.ray.com> NNTP-Posting-Host: 219.95.248.10 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1080151353 15706 127.0.0.1 (24 Mar 2004 18:02:33 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 24 Mar 2004 18:02:33 +0000 (UTC) Xref: archiver1.google.com comp.lang.ada:6490 Date: 2004-03-24T10:02:32-08:00 List-Id: "jdpetrey" <"jdpetrey"@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.)