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=-0.8 required=5.0 tests=BAYES_00,INVALID_DATE autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,9b84a0d726430783,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 1994-11-28 04:37:26 PST Path: nntp.gmd.de!xlink.net!howland.reston.ans.net!vixen.cso.uiuc.edu!uwm.edu!lll-winken.llnl.gov!fastrac.llnl.gov!usenet.ee.pdx.edu!news.reed.edu!usenet From: yeung@bagpipe.reed.edu (Woodrow Yeung) Newsgroups: comp.lang.ada Subject: Help with gnat IO Date: 28 Nov 1994 11:28:08 GMT Organization: Reed College, Portland, Oregon Message-ID: <3bces8$500@scratchy.reed.edu> NNTP-Posting-Host: lust.reed.edu Date: 1994-11-28T11:28:08+00:00 List-Id: Hi, I'm using gnat and am having trouble with the input/output routines. First of all, how do I use the INTEGER_IO package? I get this error message: file "integer_io.ads" not found but I see the INTEGER_IO package defined within the a-textio.ads file. I want to be able to format my field width. Secondly, in the Ada reference manual (July 1980) there is a function GET_STRING that reads a sequence of character up to the next white space. This function does not exist in the gnat implementation. I want to do this without writing my own routine. By using GET, I end up with characters filling my string. Worse yet, I read too much data. My data is composed of lines with fields delimited by whitespace. (I guess GET_STRING got taken out of Ada before it was finalized.) I would appreciate any help. By the way, where's all the traffic in this newsgroup? Are people still using Ada? -- Woodrow Yeung yeung@reed.edu