comp.lang.ada
 help / color / mirror / Atom feed
From: "David Botton" <David@Botton.com>
Subject: Re: Ada version of C's 'static'
Date: 1999/07/19
Date: 1999-07-19T23:57:10+00:00	[thread overview]
Message-ID: <7n0e0m$1vhg$1@news.gate.net> (raw)
In-Reply-To: 7n03us$862$1@nnrp1.deja.com

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?







  reply	other threads:[~1999-07-19  0:00 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-07-19  0:00 Ada version of C's 'static' Craig Allen
1999-07-19  0:00 ` David Botton [this message]
1999-07-20  0:00 ` Simon Wright
1999-07-23  0:00 ` Tucker Taft
1999-07-30  0:00   ` Craig Allen
1999-08-03  0:00     ` Compilers for VAX Was: " Erdelyi Gaspar
1999-08-03  0:00       ` Larry Kilgallen
1999-08-04  0:00       ` Steve Doiel
1999-08-05  0:00         ` Robert Dewar
1999-08-05  0:00           ` Larry Kilgallen
1999-08-06  0:00             ` Robert A Duff
1999-08-06  0:00               ` Larry Kilgallen
1999-08-09  0:00                 ` Robert A Duff
1999-08-09  0:00                   ` Richard D Riehle
1999-08-09  0:00                     ` Tucker Taft
1999-08-10  0:00                     ` Robert A Duff
1999-08-08  0:00               ` Robert Dewar
1999-08-04  0:00       ` Robert Dewar
1999-08-04  0:00         ` Rod Chapman
1999-08-04  0:00           ` Robert Dewar
1999-08-04  0:00           ` Larry Kilgallen
1999-08-04  0:00             ` Marin David Condic
1999-08-04  0:00               ` Larry Kilgallen
1999-08-04  0:00               ` Robert Dewar
1999-08-04  0:00             ` Robert Dewar
1999-08-04  0:00         ` Chris Miller
1999-08-05  0:00           ` Robert Dewar
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox