From: "John Herro" <john@prousa.net>
Subject: Re: Pageless Text_IO
Date: 1999/11/16
Date: 1999-11-16T00:00:00+00:00 [thread overview]
Message-ID: <3831d7ed@excalibur.GBM> (raw)
In-Reply-To: 80s63a$afp$1@nnrp1.deja.com
Robert Dewar <robert_dewar@my-deja.com> 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
next prev parent reply other threads:[~1999-11-16 0:00 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-11-16 0:00 Pageless Text_IO David Starner
1999-11-16 0:00 ` Robert Dewar
1999-11-16 0:00 ` Robert Dewar
1999-11-16 0:00 ` Robert Dewar
1999-11-16 0:00 ` John Herro [this message]
1999-11-17 0:00 ` Robert Dewar
1999-11-17 0:00 ` Wes Groleau
1999-11-19 0:00 ` Robert Dewar
1999-11-24 0:00 ` Wes Groleau
1999-11-25 0:00 ` Robert Dewar
1999-11-16 0:00 ` Robert Dewar
1999-11-16 0:00 ` David Starner
1999-11-16 0:00 ` Robert Dewar
1999-11-16 0:00 ` Arthur Evans Jr
1999-11-17 0:00 ` Robert Dewar
1999-11-16 0:00 ` DuckE
1999-11-17 0:00 ` Robert Dewar
1999-11-17 0:00 ` Wes Groleau
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox