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,b50bc6538a649497 X-Google-Attributes: gid103376,public From: Robert Dewar Subject: Re: Ada student homework ? I give up ... Date: 2000/11/15 Message-ID: <8uuakb$9jp$1@nnrp1.deja.com>#1/1 X-Deja-AN: 693925781 References: <3A02CED4.520C2768@brighton.ac.uk> <3A078B6F.D34B024B@erols.com> <8ua3m1$bru$1@nnrp1.deja.com> <3A0916BB.584C6C60@cadwin.com> <3A0952B9.34BE19D1@cadwin.com> <3A0A2E53.DD650D8A@ix.netcom.com> <3A0A6B56.7437E9E7@cadwin.com> <3A0B68EF.A06B276D@ix.netcom.com> <3A0BB50B.96F77015@cadwin.com> <3A0BEAC7.5BC70E0@cadwin.com> <3A0BFA4A.5FA9D365@erols.com> <3A0C03BE.C3216454@cadwin.com> <8ujp12$3vk$1@nnrp1.deja.com> <3A0FCBAD.824095C6@cadwin.com> <8uos3l$q6h$1@nnrp1.deja.com> <8up1ht$upu$1@nnrp1.deja.com> <8uqhs1$88s$1@nnrp1.deja.com> <3A10FA2A.E52FBF51@cadwin.com> <8utul0$vnv$1@nnrp1.deja.com> <3A128778.54D5BE34@cadwin.com> X-Http-Proxy: 1.0 x73.deja.com:80 (Squid/1.1.22) for client 166.72.70.94 Organization: Deja.com - Before you buy. X-Article-Creation-Date: Wed Nov 15 15:37:47 2000 GMT X-MyDeja-Info: XMYDJUIDrobert_dewar Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.61 [en] (OS/2; I) Date: 2000-11-15T00:00:00+00:00 List-Id: In article <3A128778.54D5BE34@cadwin.com>, Nicolas Brunot wrote: > Robert Dewar wrote : > > > First of all, you are mischaracterizing a response of mine, > > if you don't believe that, go back over the archives, I said > > absolutely NOTHING of the kind. > > Well sorry I couldn't resist, just check : > > where you'll find : > "Actually the compiler did not crash, it complained it was out of memory > (Storage_Error raised during compilation)" But you mentioned a syntactically incorrect program -- there was nothing syntactically incorrect about the program here, it is a perfectly fine program, it is just that it requires a lot of memory to compile. If you have enough memory it will compile fine. If you don't have the memory, the compiler terminates with a Storage_Error. In the current version, the message is cleaner, but the functional situation is the same, if the compiler has enough memory it will compile, if not it will terminate indicating it does not have enough storage. It was your reference to a syntactically incorrect program that made me know you were misquoting me! while > > answering > http://ada.eu.org/pipermail/comp.lang.ada/2000-September/002443. html > where you'll find : > >So just when I think I'm getting the idea of Ada95, along comes this > >problem, demonstrated by an admittedly contrived program. Gnat 3.13p > crashes > >trying to compile this: > > > > with ada.float_text_io; > > with ada.numerics; > > with ada.numerics.elementary_functions; > > use ada.numerics.elementary_functions; > > procedure crash is > > f, g : float; > > begin > > ada.float_text_io.get(f); > > g := 2.7183 ** (-5340)/f + 21.5; > > end crash; > > Sent via Deja.com http://www.deja.com/ Before you buy.