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.3 required=5.0 tests=BAYES_00,INVALID_MSGID, MSGID_RANDY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,3c99788a4ac63037 X-Google-Attributes: gid103376,public From: Robert Dewar Subject: Re: Pageless Text_IO Date: 1999/11/16 Message-ID: <80s3fj$8c6$1@nnrp1.deja.com>#1/1 X-Deja-AN: 549317174 References: <80qarp$9qe1@news.cis.okstate.edu> <80qo6v$926$1@nnrp1.deja.com> <80qqae$8a22@news.cis.okstate.edu> X-Http-Proxy: 1.0 x35.deja.com:80 (Squid/1.1.22) for client 205.232.38.14 Organization: Deja.com - Before you buy. X-Article-Creation-Date: Tue Nov 16 17:15:38 1999 GMT X-MyDeja-Info: XMYDJUIDrobert_dewar Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.04 [en] (OS/2; I) Date: 1999-11-16T00:00:00+00:00 List-Id: In article <80qqae$8a22@news.cis.okstate.edu>, dvdeug@x8b4e53cd. (David Starner) wrote: > On Tue, 16 Nov 1999 04:57:05 GMT, Robert Dewar wrote: > >page breaks. There is no problem in skipping page breaks using > >Text_IO. > If I'm reading the ARM & GNAT's source correctly, reading a page > break will reset the line count. So if I need a count of the > current line, that ignores page breaks, I need to keep it myself, > right? Yes, and in general trying to use Text_IO's view of what a line number means is probably a poor idea. For example it would not work at all on Ada source (since VT ends a line for the Ada source program, but not for Text_IO!) Sent via Deja.com http://www.deja.com/ Before you buy.