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: Preben Randhol Subject: Re: Help ... CONSTRAINT_ERROR Date: 1999/11/30 Message-ID: #1/1 X-Deja-AN: 554888580 References: <81vfu6$sem$1@tobruk.sydney.gecm.com> <820qf9$ic3$1@nnrp1.deja.com> X-Complaints-To: usenet@itea.ntnu.no X-Trace: kopp.stud.ntnu.no 943977277 7235 129.241.83.82 (30 Nov 1999 15:54:37 GMT) Organization: ProgramVareVerkstedet NNTP-Posting-Date: 30 Nov 1999 15:54:37 GMT Newsgroups: comp.lang.ada Date: 1999-11-30T15:54:37+00:00 List-Id: 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 ? -- Preben Randhol -- [randhol@pvv.org] -- [http://www.pvv.org/~randhol/] "Det eneste trygge stedet i verden er inne i en fortelling." -- Athol Fugard