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, MSGID_RANDY 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: Ted Dennison Subject: Re: Help ... CONSTRAINT_ERROR Date: 1999/11/30 Message-ID: <821hfi$4fl$1@nnrp1.deja.com>#1/1 X-Deja-AN: 554945150 References: <81vfu6$sem$1@tobruk.sydney.gecm.com> <820qf9$ic3$1@nnrp1.deja.com> X-Http-Proxy: 1.0 x35.deja.com:80 (Squid/1.1.22) for client 204.48.27.130 Organization: Deja.com - Before you buy. X-Article-Creation-Date: Tue Nov 30 22:01:25 1999 GMT X-MyDeja-Info: XMYDJUIDtedennison Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.6 [en] (WinNT; I) Date: 1999-11-30T00:00:00+00:00 List-Id: In article , Robert A Duff wrote: > Preben Randhol 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.