comp.lang.ada
 help / color / mirror / Atom feed
From: Ted Dennison <dennison@telepath.com>
Subject: Re: Help ... CONSTRAINT_ERROR
Date: 1999/11/30
Date: 1999-11-30T00:00:00+00:00	[thread overview]
Message-ID: <821hfi$4fl$1@nnrp1.deja.com> (raw)
In-Reply-To: wccwvr053qe.fsf@world.std.com

In article <wccwvr053qe.fsf@world.std.com>,
  Robert A Duff <bobduff@world.std.com> wrote:
> Preben Randhol <randhol@pvv.org> writes:
>
> > reason67@my-deja.com writes:
>
> > |       NUM : STRING := "hi there";
> >
> > It compiles under Ada95. Was this changed from Ada83 to Ada95 ?
>
> Yes.  This is legal Ada 95, but was illegal in Ada 83.

One of a host of little improvements that make Ada 95 worth the
upgrade, reguardless of wheather you ever use a tagged type or not.
Another good example from the original post is that float'image wasn't
legal either, hence the need to use a Float_IO package. A third good
example from that post is that by default there was no pre-instatiated
version of Float_IO (Ada.Float_Text_IO), hence the need to manually
instantiate Text_IO.Float_IO with Float.

--
T.E.D.


Sent via Deja.com http://www.deja.com/
Before you buy.




  reply	other threads:[~1999-11-30  0:00 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-11-30  0:00 Help ... CONSTRAINT_ERROR jxredi
1999-11-30  0:00 ` reason67
1999-11-30  0:00   ` Preben Randhol
1999-11-30  0:00     ` David C. Hoos, Sr.
1999-11-30  0:00     ` reason67
1999-11-30  0:00     ` Robert A Duff
1999-11-30  0:00       ` Ted Dennison [this message]
1999-11-30  0:00 ` Preben Randhol
1999-12-02  0:00 ` Stephen Leake
1999-12-06  0:00 ` skamn
replies disabled

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