comp.lang.ada
 help / color / mirror / Atom feed
From: reason67@my-deja.com
Subject: Re: Help ... CONSTRAINT_ERROR
Date: 1999/11/30
Date: 1999-11-30T00:00:00+00:00	[thread overview]
Message-ID: <821c8c$d0$1@nnrp1.deja.com> (raw)
In-Reply-To: m3emd83rg2.fsf@kiuk0156.chembio.ntnu.no

In article <m3emd83rg2.fsf@kiuk0156.chembio.ntnu.no>,
  Preben Randhol <randhol@pvv.org> wrote:
> reason67@my-deja.com writes:
>
> | The code you posted would not compile:
> |       NUM : STRING := "hi there";

> It compiles under Ada95. Was this changed from Ada83 to Ada95 ?

I did not know it was legal in Ada95. I wonder why they changed that. A
String must still have a fixed length, so, like a constant, it must
derive the information from the default value. Thanks for the info.
---
Jeffrey S. Blatt


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




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