comp.lang.ada
 help / color / mirror / Atom feed
From: "David C. Hoos, Sr." <david.c.hoos.sr@ada95.com>
Subject: Re: obsolete ascii? (for language lawyers)
Date: 1999/06/29
Date: 1999-06-29T00:00:00+00:00	[thread overview]
Message-ID: <7lb7ri$2g2@hobbes.crc.com> (raw)
In-Reply-To: 7las7v$5p0$1@infosun2.rus.uni-stuttgart.de


Peter Hermann wrote in message
<7las7v$5p0$1@infosun2.rus.uni-stuttgart.de>...
>LRM A.1(36) states an obsolete package ASCII.
>
>now look at my example:
>
>                     with text_io;
>procedure hello is
>   bell : character := character'val(7);
> --bell2 : character := bel;  -- is not allowed  :-(
>begin
>   text_io.put_line ("Hallo Welt..." & ascii.bel & bell);
>   end hello;

>What is the reason for this degradation?

You would need a use clause for package ASCII, or use dot notation.

>Why then (zum Kuckuck!) is package ascii declared obsolete?

Because a package like Ada.Characters.Latin_1 replaces it, and
extends the range to include 256 characters instead of 128.







  parent reply	other threads:[~1999-06-29  0:00 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-06-29  0:00 obsolete ascii? (for language lawyers) Peter Hermann
1999-06-29  0:00 ` John Herro
1999-07-02  0:00   ` Peter Hermann
1999-06-29  0:00 ` David C. Hoos, Sr. [this message]
1999-06-29  0:00   ` Ted Dennison
1999-07-02  0:00 ` Peter Hermann
1999-07-02  0:00   ` Robert Dewar
1999-07-02  0:00     ` Keith Thompson
1999-07-03  0:00       ` Robert Dewar
1999-07-03  0:00         ` Keith Thompson
1999-07-08  0:00           ` John Duncan
1999-07-08  0:00           ` Tucker Taft
1999-07-02  0:00   ` Robert A Duff
1999-07-02  0:00   ` Ted Dennison
1999-07-02  0:00     ` Ted Dennison
replies disabled

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