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 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,bc1b788806de7f65 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!g44g2000cwa.googlegroups.com!not-for-mail From: "Ludovic Brenta" Newsgroups: comp.lang.ada Subject: Re: Scope of vector Date: 8 Feb 2006 05:28:40 -0800 Organization: http://groups.google.com Message-ID: <1139405320.270752.197010@g44g2000cwa.googlegroups.com> References: <1139390027.869164.41200@g43g2000cwa.googlegroups.com> <43E9CF04.20808@mailinator.com> NNTP-Posting-Host: 212.190.145.10 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1139405328 13156 127.0.0.1 (8 Feb 2006 13:28:48 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 8 Feb 2006 13:28:48 +0000 (UTC) In-Reply-To: <43E9CF04.20808@mailinator.com> User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; SunOS sun4u; fr-FR; rv:1.6) Gecko/20040116,gzip(gfe),gzip(gfe) X-HTTP-Via: 1.1 SEVPXS01 Complaints-To: groups-abuse@google.com Injection-Info: g44g2000cwa.googlegroups.com; posting-host=212.190.145.10; posting-account=ZjNXewwAAADyBPkwI57_UcX8yKfXWOss Xref: g2news1.google.com comp.lang.ada:2816 Date: 2006-02-08T05:28:40-08:00 List-Id: As Alex said, the precise answer to your question (if we understand your question well) is: you can't access LF outside of the inner block. But you can store the appended array in a separate constant, which you can assess thus: declare LI : constant Float_Array := Some_Initializer; LU : constant Float_Array := Function_Giving_LU; begin declare LF : constant Float_Array := LI & LU; begin -- Here you can use all of LI, LU and LF end; -- Here you can use LU if you want to, but not LF. end; -- Ludovic Brenta.