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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,627a173c3309b242 X-Google-Attributes: gid103376,public Path: controlnews3.google.com!news1.google.com!news.glorb.com!wn14feed!worldnet.att.net!attbi_s53.POSTED!not-for-mail From: Freejack Subject: Re: Allocation of local constant arrays User-Agent: Pan/0.14.0 (I'm Being Nibbled to Death by Cats!) Message-ID: Newsgroups: comp.lang.ada References: <17820062.Hog322c0fT@linux1.krischik.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit NNTP-Posting-Host: 24.11.11.243 X-Complaints-To: abuse@comcast.net X-Trace: attbi_s53 1085078218 24.11.11.243 (Thu, 20 May 2004 18:36:58 GMT) NNTP-Posting-Date: Thu, 20 May 2004 18:36:58 GMT Organization: Comcast Online Date: Thu, 20 May 2004 18:36:58 GMT Xref: controlnews3.google.com comp.lang.ada:710 Date: 2004-05-20T18:36:58+00:00 List-Id: On Thu, 20 May 2004 13:24:07 +0200, Martin Krischik wrote: > > Normally I put them with the procedure. Sometimes I put them in packages > inside the procededure: > > procedure Proc > is > package Pack > ... > end Pack; > begin > ... > > With Regards > > Martin Wouldn't that kind of declaration essentially make the variables static constants, unchangeable from one call of the procedure to another. And would I reference the var as Proc.Pack.foobar or just Pack.foobar? Although it looks like this type of definition would help the compiler perform optimizations. Freejack