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.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,a0833bbed8752e1f X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!proxad.net!134.158.69.22.MISMATCH!in2p3.fr!irazu.switch.ch!switch.ch!newsfeed00.sul.t-online.de!newsmm00.sul.t-online.de!t-online.de!news.t-online.com!not-for-mail From: Martin Krischik Newsgroups: comp.lang.ada Subject: Re: variable lenght strings Date: Tue, 26 Oct 2004 10:49:03 +0200 Organization: AdaCL Message-ID: <10094274.cGxrBqeOBP@linux1.krischik.com> References: <1861614.TWv5A9FgVL@linux1.krischik.com> <4178e979_1@baen1673807.greenlnk.net> <1195374.UMjBCk7lO1@linux1.krischik.com> <1154613.ipZcUgduzp@linux1.krischik.com> Reply-To: krischik@users.sourceforge.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Trace: news.t-online.com 1098781601 03 22418 ph6tXYjLJa8lNet 041026 09:06:41 X-Complaints-To: usenet-abuse@t-online.de X-ID: VTpCk6ZVoe2y6dhXRD-y1SwXxROSqdk6fOpKAWyBm8KRc1HOwZa3re User-Agent: KNode/0.8.0 Xref: g2news1.google.com comp.lang.ada:5712 Date: 2004-10-26T10:49:03+02:00 List-Id: Larry Kilgallen wrote: > In article , "Randy Brukardt" > writes: > >> I vaguely recall having argued this with Robert Dewar, and I think that >> they had a different interpretation, based on the idea that a file with a >> missing CR/LF is incorrect for use with Text_IO. I hope I misremember >> that, because it is stupid (even if it is logically correct) as it >> essentially says that you can't read outside generated text files with >> Text_IO (you can't know whether the file has CR/LFs as required). > > To say that Text_IO cannot read files generated by other languages > seems illogical to me (from the vantage point on an operating system > where the lingua franca is record-based files.) Not just other languages. The real problem is user edited file. Users often delete the final CR/LF. It would be a shame of Text_IO could not read a file from an editor. With Regards Martin -- mailto://krischik@users.sourceforge.net http://www.ada.krischik.com