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 autolearn=ham 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!news1.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed.cwix.com!news.binc.net!kilgallen From: Kilgallen@SpamCop.net (Larry Kilgallen) Newsgroups: comp.lang.ada Subject: Re: variable lenght strings Date: 28 Oct 2004 18:01:21 -0500 Organization: LJK Software Message-ID: <39q24nDZNOOB@eisner.encompasserve.org> References: <1861614.TWv5A9FgVL@linux1.krischik.com> <4178e979_1@baen1673807.greenlnk.net> <1195374.UMjBCk7lO1@linux1.krischik.com> <1154613.ipZcUgduzp@linux1.krischik.com> NNTP-Posting-Host: eisner.encompasserve.org X-Trace: grandcanyon.binc.net 1099004408 2077 192.135.80.34 (28 Oct 2004 23:00:08 GMT) X-Complaints-To: abuse@binc.net NNTP-Posting-Date: Thu, 28 Oct 2004 23:00:08 +0000 (UTC) Xref: g2news1.google.com comp.lang.ada:5811 Date: 2004-10-28T18:01:21-05:00 List-Id: In article , "Randy Brukardt" writes: > Huh? A null line without a line terminator would be indistinguishable from a > line terminator at the end of a file. So it is perfectly reasonable for an > implementation to treat this as reading past the end of a file (Janus/Ada > certainly does too). Indeed, I'd argue that it is impossible for there to be > a null line without a line terminator at the end of a file. So on this general subject, how do implementations which use a special character for line termination handle the situation where that character is in the middle of a line ? Is there a special escape character to mean "the next character is real" ? Is that special escape character the same for all implementations ?