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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,6286c332c8cae43d X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-11-26 04:36:28 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: hfrumblefoot@yahoo.com (Hambut) Newsgroups: comp.lang.ada Subject: Re: Text_IO.End_Of_File Problem Date: 26 Nov 2001 04:36:27 -0800 Organization: http://groups.google.com/ Message-ID: References: NNTP-Posting-Host: 194.131.227.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1006778187 22248 127.0.0.1 (26 Nov 2001 12:36:27 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 26 Nov 2001 12:36:27 GMT Xref: archiver1.google.com comp.lang.ada:16978 Date: 2001-11-26T12:36:27+00:00 List-Id: Patrick Hohmeyer wrote in message news:... > To get rid of this you must test for an end_of_line and > when you encounter one, skip it with Skip_Line. > Does this mean I need to do something like: 1. Test for end_of_line 2. If true then repeatedly skip_line and test for end_of_line until it's false 3. Test for end_of_file?? Hmm doesn't seem to work too well.. Perhaps it needs a repeated test for end_of_file in 2 when end_of_line is true. > Does this pointer helps, or do you want a corrected code? It might help. Cheers for the reply.