comp.lang.ada
 help / color / mirror / Atom feed
From: evans@evans.pgh.pa.us (Arthur Evans Jr)
Subject: Re: Form feed comment for pragma Page
Date: 1996/06/04
Date: 1996-06-04T00:00:00+00:00	[thread overview]
Message-ID: <evans-0406961641500001@ppp5.pgh.net> (raw)
In-Reply-To: dewar.833858501@schonberg


In article <dewar.833858501@schonberg>, dewar@cs.nyu.edu (Robert Dewar) wrote:

> Second, form feed *is* in the allowed set of characters for Ada
> source code, but it is a logical-end-of line separator, so you
> cannot put it in the middle of a comment (since it ends the logical line).

Well, form feed (control-L) is an ASCII character and part of the
standard character set, but I'm quite surprised to hear that it's a
logical-end-of line, for two reasons:

  - If anything, it's-end-of page, not-end-of line.

  - And it's not even that.  The RM in A.10(8) is quite clear that the
    standard does not specify which characters, if any, correspond to
    logical end-of-line or end-of-page or end-of-file.

I'll agree that many implementations, probably most of them, choose to
implement end-of-page using the ASCII form feed character, but the
standard is silent on the subject.

Art Evans

Arthur Evans Jr, PhD        Phone: 412-963-0839
Ada Consulting              FAX:   412-963-0927
461 Fairview Road
Pittsburgh PA  15238-1933
evans@evans.pgh.pa.us




  reply	other threads:[~1996-06-04  0:00 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-06-04  0:00 Form feed comment for pragma Page Rex Reges
1996-06-03  0:00 ` Robert Dewar
1996-06-06  0:00   ` Rex Reges
1996-06-05  0:00     ` Robert Dewar
1996-06-12  0:00       ` Rex Reges
1996-06-12  0:00         ` Rex Reges
1996-06-12  0:00           ` Robert Dewar
1996-06-13  0:00           ` Ken Garlington
1996-06-03  0:00 ` Robert Dewar
1996-06-04  0:00   ` Arthur Evans Jr [this message]
1996-06-04  0:00     ` Robert Dewar
1996-06-06  0:00       ` Text_IO and Ada source (was: Form feed comment for pragma Page) Arthur Evans Jr
1996-06-06  0:00         ` Robert Dewar
1996-06-11  0:00           ` Norman H. Cohen
1996-06-12  0:00             ` Robert Dewar
1996-06-18  0:00           ` Norman H. Cohen
1996-06-20  0:00             ` Robert Dewar
1996-06-05  0:00     ` Form feed comment for pragma Page Keith Thompson
1996-06-04  0:00   ` Robert A Duff
1996-06-04  0:00     ` Robert Dewar
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox