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-Thread: 103376,680defdd64d3300 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!news.glorb.com!dedekind.zen.co.uk!zen.net.uk!demorgan.zen.co.uk!194.72.9.35.MISMATCH!news-peer1!btnet-feed5!btnet!news.btopenworld.com!not-for-mail From: "munnoch" Newsgroups: comp.lang.ada Subject: Re: Help on Package_Name Date: Tue, 23 Nov 2004 23:43:10 +0000 (UTC) Organization: BT Openworld Message-ID: References: NNTP-Posting-Host: host81-155-33-254.range81-155.btcentralplus.com X-Trace: hercules.btinternet.com 1101253390 22108 81.155.33.254 (23 Nov 2004 23:43:10 GMT) X-Complaints-To: news-complaints@lists.btinternet.com NNTP-Posting-Date: Tue, 23 Nov 2004 23:43:10 +0000 (UTC) X-RFC2646: Format=Flowed; Response X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-MSMail-Priority: Normal X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Xref: g2news1.google.com comp.lang.ada:6402 Date: 2004-11-23T23:43:10+00:00 List-Id: Ok, my mistake - I should leave help commentary to the pro's and stick to asking my mundane questions =) "Jeffrey Carter" 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 >