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,XPRIO autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,cde9c3ceb8a662ac,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-06-29 15:03:04 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!212.74.64.35!colt.net!newspeer.clara.net!news.clara.net!news5-gui.server.ntli.net!ntli.net!news2-win.server.ntlworld.com.POSTED!not-for-mail From: "chris.danx" Newsgroups: comp.lang.ada Subject: Is this explanation correct? MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Message-ID: Date: Fri, 29 Jun 2001 22:54:03 +0100 NNTP-Posting-Host: 213.104.128.139 X-Complaints-To: abuse@ntlworld.com X-Trace: news2-win.server.ntlworld.com 993851874 213.104.128.139 (Fri, 29 Jun 2001 22:57:54 BST) NNTP-Posting-Date: Fri, 29 Jun 2001 22:57:54 BST Organization: ntlworld News Service Xref: archiver1.google.com comp.lang.ada:9269 Date: 2001-06-29T22:54:03+01:00 List-Id: Hi, The ps-programming@tutoraid.org mailing list seems a little dead at the minute and it seems like the Ada folk are busy (I am no expert and don't want to perpetuate misinformation). A newbie posted asking "There is something I don't understand about end_of_file stuff. When I key in my data on the file in the floppy drive, if I leave and save a space after the end data, I will get an End_Error . but when I open the file back, and get rid of that space and save, and run the program it works fine. can you tell me why?" I want to check this before I relay it to the mailing list. The program uses Ada.Integer_text_io which ignores spaces, so when the program get's to the space it thinks there's an integer after it and it doesn't find one, so it generates the end_error (exception) to let us know. Is this correct? Cheers, Chris