From: nexus@nexus.webhour.net (Lee Jun Wei)
Subject: newbie: fixed_text_io and decimals
Date: 20 Mar 2004 18:47:52 -0800
Date: 2004-03-20T18:47:52-08:00 [thread overview]
Message-ID: <1314ac77.0403201847.3cb55265@posting.google.com> (raw)
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.
next reply other threads:[~2004-03-21 2:47 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-21 2:47 Lee Jun Wei [this message]
2004-03-21 13:28 ` newbie: fixed_text_io and decimals Stephen Leake
2004-03-22 16:04 ` jdpetrey<NO_SPAM>
2004-03-24 18:02 ` Lee Jun Wei
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox