comp.lang.ada
 help / color / mirror / Atom feed
From: dewar@cs.nyu.edu (Robert Dewar)
Subject: Re: Ada95: New_Page at end of file
Date: 18 Jan 1995 18:16:26 -0500
Date: 1995-01-18T18:16:26-05:00	[thread overview]
Message-ID: <3fk7ga$lb2@gnat.cs.nyu.edu> (raw)
In-Reply-To: 3fhj2sINNgnc@RA.DEPT.CS.YALE.EDU

The Ada standards (83 and 95) both require a page mark at the end of a
text file, and the representation of this page mark is implementation
dependent.

GNAT currently represents ALL page marks by form feed characters, including
the one at the end of the file.

This is not incorrect, but it is unfriendly, a more friendly, though
obviously slightly trickier, representation is to have the page mark at
the end of file have a different representation (namely null).

This is on our list of things to do.

However, please note that text files in Ada have implementation dependent
formats, and you cannot count on this as a transportable format without
additional, possibly implementation dependent, guarantees. See also the
URG discussion of this issue (perhaps Dave can supply us with the proper
UI number).




      reply	other threads:[~1995-01-18 23:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-01-17 23:15 Ada95: New_Page at end of file Tom Griest
1995-01-18 23:16 ` Robert Dewar [this message]
replies disabled

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