comp.lang.ada
 help / color / mirror / Atom feed
* Allocation of local constant arrays
@ 2004-05-19 15:07 Davide
  2004-05-19 15:17 ` Davide
  2004-05-19 21:16 ` Robert I. Eachus
  0 siblings, 2 replies; 9+ messages in thread
From: Davide @ 2004-05-19 15:07 UTC (permalink / raw)


Hi,

suppose to have a constant array declared inside a procedure. Suppose to
perform, inside that procedure, a loop in which the elements of the constant
array are accessed sequentially until some condition become true.
My question (i know it's a newbie question...): is the local constant array
copied into the stack each time the procedure is called or it is allocated
once and for all in some part of the memory? I'm using AdaMulti compiler.

Thank you.

Davide.





^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2004-05-21  9:44 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-19 15:07 Allocation of local constant arrays Davide
2004-05-19 15:17 ` Davide
2004-05-19 21:16 ` Robert I. Eachus
2004-05-20  9:56   ` Davide
2004-05-20 11:24     ` Martin Krischik
2004-05-20 18:36       ` Freejack
2004-05-21  9:44         ` Martin Krischik
2004-05-21  2:32     ` Steve
2004-05-21  3:07     ` Robert I. Eachus

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