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 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: "John Herro" Subject: Re: Pageless Text_IO Date: 1999/11/16 Message-ID: <3831d7ed@excalibur.GBM>#1/1 X-Deja-AN: 549455698 References: <80qarp$9qe1@news.cis.okstate.edu> <80qo6j$922$1@nnrp1.deja.com> <80s63a$afp$1@nnrp1.deja.com> X-Original-NNTP-Posting-Host: abd69724.ipt.aol.com X-Trace: 16 Nov 1999 17:18:41 -0500, excalibur.gbmtech.net X-Authenticated-User: john Organization: Newshosting.com X-MSMail-Priority: Normal X-Priority: 3 Newsgroups: comp.lang.ada X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Date: 1999-11-16T00:00:00+00:00 List-Id: Robert Dewar wrote: > A form parameter PAGE_BREAKS => NO would be a handy > addition to Text_IO, it would say simply that on input > new page characters were not treated specially in any > way, just treated as characters if encountered, and > on output, New_Page generates such a character but has > no other effect. There's a way to achieve that now. I've done it, but it's slow and crude, and it works only on some systems. (E.g., it works with DOS, but not with VAX/VMS.) You can instantiate Sequential_IO for Character, and write your own version of Get_Line. This enables you to handle special characters, like Form Feeds, the same way you handle other characters. Of course, it's up to you if you want to keep line and page counts. - John Herro You can download a shareware AdaTutor program at http://members.aol.com/AdaTutor