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,XPRIO autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,627a173c3309b242,start X-Google-Attributes: gid103376,public Path: controlnews3.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!feed.news.tiscali.de!tiscali!newsfeed1.ip.tiscali.net!itgate.net!news-out.tin.it!news-in.tin.it!news.finmeccanica.it!not-for-mail From: "Davide" Newsgroups: comp.lang.ada Subject: Allocation of local constant arrays Date: Wed, 19 May 2004 17:07:08 +0200 Organization: Finmeccanica Message-ID: NNTP-Posting-Host: 192.168.54.114 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Xref: controlnews3.google.com comp.lang.ada:695 Date: 2004-05-19T17:07:08+02:00 List-Id: 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.