comp.lang.ada
 help / color / mirror / Atom feed
From: Robert Dewar <robert_dewar@my-deja.com>
Subject: Re: Pageless Text_IO
Date: 1999/11/17
Date: 1999-11-17T00:00:00+00:00	[thread overview]
Message-ID: <80vet2$le2$1@nnrp1.deja.com> (raw)
In-Reply-To: 383210d2.0@news.pacifier.com

In article <383210d2.0@news.pacifier.com>,
  "DuckE" <nospam_steved@pacifier.com> wrote:
> Why not use Set_Page_Length to set the length of a page
> sufficently long that you will never run into the length?  All
> text will appear on page 1.
>
> Esthletically correct? No.  But it should work.

Yes, but why not just specify unbounded page length by setting
it to zero, much more straight forward. This is typically the
default in any case.

But this solves only the output problem, not the input problem
which was the source of the original question (remember we
were talking about inputting source to a compiler). Here the
trouble is that form feed in the input will indeed reset the
line count.

>
> SteveD
>
> David Starner <dvdeug@x8b4e53cd.> wrote in message
> news:80qarp$9qe1@news.cis.okstate.edu...
> > I'm having some problems with Text_IO, and Barnes' book
doesn't
> > cover it well.
> >
> > I'm writing a compiler. Programmers tend to embed form feeds
in
> > the text, without expecting the compiler to worry about
them.
> > In particular, "Page 7: Line 1: Invalid character" wouldn't
> > amuse most programmers. Is there any way to tell the
compiler
> > to ignore page breaks?
> >
> > --
> > David Starner - dstarner98@aasaa.ofe.org
> > I see no trend at all, except toward women playing mean and
ugly
> > sociopaths who are good at killing and who enjoy dark
powers. Maybe
> > it's just my friends?
> > -- Dr. Kromm, on who plays what type of character in RPGs
>
>


Sent via Deja.com http://www.deja.com/
Before you buy.




  reply	other threads:[~1999-11-17  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
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 [this message]
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