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,b51e7ccaf8744224 X-Google-Attributes: gid103376,public From: Robert Dewar Subject: Re: Records and their types. Date: 1999/09/22 Message-ID: <7sauu7$f6k$1@nnrp1.deja.com>#1/1 X-Deja-AN: 528099042 References: <37E48A92.B2CB3EC5@interact.net.au> <37e4c6f9@news1.prserv.net> <37E64425.A5446224@pwfl.com> <37E6972C.9D3271A2@pwfl.com> <7s93ih$4vj$1@nnrp1.deja.com> <7satv9$ehj$1@nnrp1.deja.com> X-Http-Proxy: 1.0 x42.deja.com:80 (Squid/1.1.22) for client 205.232.38.14 Organization: Deja.com - Share what you know. Learn what you don't. X-Article-Creation-Date: Wed Sep 22 16:08:52 1999 GMT X-MyDeja-Info: XMYDJUIDrobert_dewar Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.04 [en] (OS/2; I) Date: 1999-09-22T00:00:00+00:00 List-Id: In article <7satv9$ehj$1@nnrp1.deja.com>, Ted Dennison wrote: > It was a long time ago, but the way I remember it the DEC compiler would > do as Robert says, but it would also try to run with it. That lead to > rather inefficent code, but hey, you're the programmer. If you want the > ability to expand your array field to 2*31 elements, that's what you > get. We are not talking about "expanding your array field to ...", we are talking about the default allocation of 2**31 elements. Of course GNAT will "try to run with it", but you will, as the warning told you, get a Storage_Error. Sent via Deja.com http://www.deja.com/ Share what you know. Learn what you don't.