comp.lang.ada
 help / color / mirror / Atom feed
From: dewar@cs.nyu.edu (Robert Dewar)
Subject: Re: End of Line Question
Date: 1996/07/12
Date: 1996-07-12T00:00:00+00:00	[thread overview]
Message-ID: <dewar.837225507@schonberg> (raw)
In-Reply-To: 4s66so$ehr@michp1.redstone.army.mil


Michael said

">You could test for this a couple of different ways.  In Ada83, package ASCII
>contains identifiers for all ASCII control characters.  So you could test:
>IF ch = ASCII.cr THEN ..."

In addition to the fact that you won't get them back, and they may not
be there anyway, there is one more thing wrong with the above, namely
the proper location for CR is really Ada.Characters.Latin_1.

ASCII is in Standard, but it is there for backwards compatibility, and
does not contain all the characters, whereas they are all found in the
new package.





  reply	other threads:[~1996-07-12  0:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-07-12  0:00 End of Line Question Spasmo
1996-07-12  0:00 ` Mike Ibarra
1996-07-12  0:00   ` Robert Dewar
1996-07-12  0:00   ` Kevin J. Weise
1996-07-12  0:00     ` Robert Dewar [this message]
1996-07-15  0:00   ` Nasser Abbasi
1996-07-14  0:00 ` Andy Askey
replies disabled

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