From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,7956d7dcc9685cb5 X-Google-Attributes: gid103376,public From: "David C. Hoos, Sr." Subject: Re: Help ... CONSTRAINT_ERROR Date: 1999/11/30 Message-ID: <821279$qse$1@hobbes2.crc.com>#1/1 X-Deja-AN: 554954013 References: <81vfu6$sem$1@tobruk.sydney.gecm.com> <820qf9$ic3$1@nnrp1.deja.com> X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 X-Complaints-To: abuse@crc.com X-Trace: hobbes2.crc.com 943983657 27534 198.175.145.56 (30 Nov 1999 17:40:57 GMT) Organization: CRC: A wholly owned subsidiary of Thermo Electron X-MSMail-Priority: Normal NNTP-Posting-Date: 30 Nov 1999 17:40:57 GMT Newsgroups: comp.lang.ada Date: 1999-11-30T17:40:57+00:00 List-Id: Preben Randhol 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.