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.6 required=5.0 tests=BAYES_05,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,b2f463dd5856d07a X-Google-Attributes: gid103376,public From: Steve O'Neill Subject: Re: Got me stumped any idea? Date: 1997/10/14 Message-ID: <34437382.7CE3@top.monad.net>#1/1 X-Deja-AN: 280404371 References: <343F77BF.18CA@unx1.shsu.edu> Reply-To: oneills@top.monad.net Organization: Black Amber Consulting Newsgroups: comp.lang.ada Date: 1997-10-14T00:00:00+00:00 List-Id: Robert A. Thompson wrote: > > I have been working on some stuff here recently and thought that Ada > would be a good compiler for the job. Good choice! :) Well, the switch from Get to Get_Line was definitely a step in the direction but your didn't go quite far enough. If you read up on Get_Line you'll notice that (in the case of reading from a file) it requires 3 parameters. The first is the file handle, the second is the string into which the input is placed and the third is the number of bytes actually read from the file for this 'line'. This should solve the problem at hand... Steve O'Neill