comp.lang.ada
 help / color / mirror / Atom feed
From: "munnoch" <munnoch@btinternet.com>
Subject: Re: Help on Package_Name
Date: Tue, 23 Nov 2004 23:43:10 +0000 (UTC)
Date: 2004-11-23T23:43:10+00:00	[thread overview]
Message-ID: <co0hue$lis$1@hercules.btinternet.com> (raw)
In-Reply-To: sXqod.2270$uV6.2094@newsread3.news.pas.earthlink.net

Ok, my mistake - I should leave help commentary to the pro's
and stick to asking my mundane questions =)


"Jeffrey Carter" <spam@spam.com> wrote in message 
news:sXqod.2270$uV6.2094@newsread3.news.pas.earthlink.net...
> munnoch wrote:
>
>> ada.text_io deals with character input - this includes strings which are 
>> just arrays of characters
>> and .. well .. you guessed it .. ada.integer_text_io and 
>> ada.float_text_io deals with integer and floating point number types 
>> respectively
>
> No, Ada.Integer_Text_IO deals with I/O for type Integer and 
> Ada.Float_Text_IO for type Float. These are essentially instantiations of 
> Ada.Text_IO.Integer_IO for type Integer and Ada.Text_IO.Float_IO for type 
> Float. As a beginner, you may well just use Integer and Float in your 
> early programs, but once you've learned the language and for anything that 
> matters, you should be declaring your own numeric types.
>
> I know the terminology is a little confusing. Ada.Text_IO.Integer_IO 
> provides text I/O for any [signed] integer type. Type Integer is one such 
> type. Similarly, Ada.Text_IO.Float_IO provides text I/O for any 
> floating-point type; type Float is one such type.
>
> -- 
> Jeff Carter
> "People called Romanes, they go the house?"
> Monty Python's Life of Brian
> 79
> 





  reply	other threads:[~2004-11-23 23:43 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-21 16:59 Help on Package_Name 19owls
2004-11-21 17:33 ` Ludovic Brenta
2004-11-22 16:16 ` munnoch
2004-11-22 19:17   ` Jeffrey Carter
2004-11-23 23:43     ` munnoch [this message]
2004-11-23  4:45   ` 19owls
2004-11-23 10:17     ` Marius Amado Alves
2004-11-23 10:41       ` 19owls
2004-11-22 23:07 ` David Botton
replies disabled

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