Allocation of local constant arrays
From: Davide (ppp_at_ppp.it)
Date: 05/19/04
- Next message: Davide: "Re: Allocation of local constant arrays"
- Previous message: Mark Lorenzen: "Re: SlashDot reviews the SPARK book"
- Next in thread: Davide: "Re: Allocation of local constant arrays"
- Reply: Davide: "Re: Allocation of local constant arrays"
- Reply: Robert I. Eachus: "Re: Allocation of local constant arrays"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 19 May 2004 17:07:08 +0200
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.
- Next message: Davide: "Re: Allocation of local constant arrays"
- Previous message: Mark Lorenzen: "Re: SlashDot reviews the SPARK book"
- Next in thread: Davide: "Re: Allocation of local constant arrays"
- Reply: Davide: "Re: Allocation of local constant arrays"
- Reply: Robert I. Eachus: "Re: Allocation of local constant arrays"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]