From: ncohen@watson.ibm.com (Norman H. Cohen)
Subject: Re: Text_IO and Ada source (was: Form feed comment for pragma Page)
Date: 1996/06/11
Date: 1996-06-11T00:00:00+00:00 [thread overview]
Message-ID: <4pkp5k$13gs@watnews1.watson.ibm.com> (raw)
In-Reply-To: dewar.834075532@schonberg
In article <dewar.834075532@schonberg>, dewar@cs.nyu.edu (Robert Dewar) writes:
|> Art said
|>
|> "In practice, of course, all of this is a non-issue, since in my compiler
|> (and I expect in most compilers) both forms use the conventions for text
|> files on the platform. It could be very much an issue if my program
|> needed to write Ada code to be compiled on some other platform."
|>
|> Most, but not all, for instance, on an IBM mainframe, one would expect
|> the source representation to be EBCDIC.
("both forms" = source text and run-time text I/O)
But there would be a particular EBCDIC code representing the Latin-1
source-text linefeed character. The real issue is that the
line-terminator would be implicit in the "logical record length" (LRECL).
However, it appears to follow from RM95 2.2(2) that *both* non-tab format
effectors (i.e., the EBCDIC codes representing the Latin-1 format
effectors) and the end-of-record would have to be recognized as the
end of a source line, so the net effect in cases such as a FF embedded in
a comment would be the same as on non-EBCDIC-based systems.
--
Norman H. Cohen ncohen@watson.ibm.com
next prev parent reply other threads:[~1996-06-11 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-04 0:00 ` Arthur Evans Jr
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 [this message]
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
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
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox