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,24ac4e1c8cbfe3c X-Google-Attributes: gid103376,public From: Robert Dewar Subject: Re: Sums of cubes (was Re: histrionics) Date: 1999/09/25 Message-ID: <7siikv$sj6$1@nnrp1.deja.com>#1/1 X-Deja-AN: 529385399 References: <37D670CE.855F96BD@interact.net.au> <37D678E4.9867000B@interact.net.au> <37d74de9@eeyore.callnetuk.com> <7r8c60$b2q$1@nnrp1.deja.com> <7r9rkj$g75$1@nnrp1.deja.com> <7rcddd$bfd$1@nnrp1.deja.com> <37DECE9D.72D1E87E@mitre.org> <37EA8DEA.61D49E6A@mitre.org> <37EB82AE.49B875C8@ftw.rsc.raytheon.com> X-Http-Proxy: 1.0 x40.deja.com:80 (Squid/1.1.22) for client 205.232.38.14 Organization: Deja.com - Before you buy. X-Article-Creation-Date: Sat Sep 25 13:28:07 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-25T00:00:00+00:00 List-Id: In article <37EB82AE.49B875C8@ftw.rsc.raytheon.com>, Wes Groleau wrote: > Is there any significant difference between the above > and the simpler > > procedure Sum_of_Cubes is > > Cubes: array (0..9) of Integer := > (0, 1, 8, 27, 64, 125, 216, 343, 512, 729); > For sure you want a constant keyword here, I don't think you want to allow (as you do above) Cubes (3) := 42; Sent via Deja.com http://www.deja.com/ Before you buy.