comp.lang.ada
 help / color / mirror / Atom feed
From: "David C. Hoos, Sr." <david.c.hoos.sr@ada95.com>
Subject: Re: Help ... CONSTRAINT_ERROR
Date: 1999/11/30
Date: 1999-11-30T17:40:57+00:00	[thread overview]
Message-ID: <821279$qse$1@hobbes2.crc.com> (raw)
In-Reply-To: m3emd83rg2.fsf@kiuk0156.chembio.ntnu.no


Preben Randhol <randhol@pvv.org> wrote in message
news:m3emd83rg2.fsf@kiuk0156.chembio.ntnu.no...
> reason67@my-deja.com writes:
>
> | The code you posted would not compile:
> |       NUM : STRING := "hi there";
> |       The string length of a variable has to be defined. If this was a
> | constant, it would work as it would get the length from the string, but
> | as a variable, you would have to say (1 .. 8) after the String. Assuming
>
> It compiles under Ada95. Was this changed from Ada83 to Ada95 ?
>
Yes it was.  In Ada83, you could only declare a constant string this way.







  parent 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 ` Preben Randhol
1999-11-30  0:00 ` reason67
1999-11-30  0:00   ` Preben Randhol
1999-11-30  0:00     ` Robert A Duff
1999-11-30  0:00       ` Ted Dennison
1999-11-30  0:00     ` reason67
1999-11-30  0:00     ` David C. Hoos, Sr. [this message]
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