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,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2004-03-20 18:47:53 PST Path: archiver1.google.com!postnews2.google.com!not-for-mail From: nexus@nexus.webhour.net (Lee Jun Wei) Newsgroups: comp.lang.ada Subject: newbie: fixed_text_io and decimals Date: 20 Mar 2004 18:47:52 -0800 Organization: http://groups.google.com Message-ID: <1314ac77.0403201847.3cb55265@posting.google.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 1079837273 16995 127.0.0.1 (21 Mar 2004 02:47:53 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sun, 21 Mar 2004 02:47:53 +0000 (UTC) Xref: archiver1.google.com comp.lang.ada:6462 Date: 2004-03-20T18:47:52-08:00 List-Id: Hello, I have just started picking up Ada by myself 3 days ago (background in C++,VB,learning Java and PHP currently as well). I read a few tutorials and they pointed that you could use Ada.Fixed_Text_IO to Put() and Get() values, but somehow ObjectAda and GNAT both complained they don't exist. My data type is: type decimal is delta 0.01 range 0.00 .. 9999.00; My header: with ada.text_io,ada.integer_text_io,ada.float_text_io,ada.fixed_text_Io; use ada.text_io,ada.integer_text_io,ada.float_text_io,ada.fixed_text_io; Could someone help out? Thanks in advance.