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 autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,c32f54b2230c68d7 X-Google-Attributes: gid103376,public From: "David Botton" Subject: Re: Ada version of C's 'static' Date: 1999/07/19 Message-ID: <7n0e0m$1vhg$1@news.gate.net>#1/1 X-Deja-AN: 502922739 References: <7n03us$862$1@nnrp1.deja.com> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3612.1700 X-Complaints-To: abuse@gate.net X-Trace: news.gate.net 932428630 65072 199.227.189.81 (19 Jul 1999 23:57:10 GMT) Organization: CyberGate, Inc. NNTP-Posting-Date: 19 Jul 1999 23:57:10 GMT Newsgroups: comp.lang.ada Date: 1999-07-19T23:57:10+00:00 List-Id: See on AdaPower.com : Static Variables in Ada (Lundquist) http://www.adapower.com/lang/static.html David Botton Craig Allen wrote in message <7n03us$862$1@nnrp1.deja.com>... >I've written some code in a procedure that operates on a table of >In short, this is exactly what I want, except in Ada. > >void foo(void) >{ > static const int bar[] = {1, 2, 3, 4, 5}; > ... >} > >Or is there a 'more Ada' way of doing this?