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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,bc1b788806de7f65,start X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!g43g2000cwa.googlegroups.com!not-for-mail From: "rashmi" Newsgroups: comp.lang.ada Subject: Scope of vector Date: 8 Feb 2006 01:13:47 -0800 Organization: http://groups.google.com Message-ID: <1139390027.869164.41200@g43g2000cwa.googlegroups.com> NNTP-Posting-Host: 61.11.60.236 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1139390032 27842 127.0.0.1 (8 Feb 2006 09:13:52 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 8 Feb 2006 09:13:52 +0000 (UTC) User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1),gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: g43g2000cwa.googlegroups.com; posting-host=61.11.60.236; posting-account=3DKkFw0AAACqdEmipLjcQnXXVUyr7_Eb Xref: g2news1.google.com comp.lang.ada:2813 Date: 2006-02-08T01:13:47-08:00 List-Id: dear all I am repeatedly looking-up from and appending to a float vector as shown below. I wish to lookup the new appended vector at the end of each loop as shown below. But the visibilty of the new appended vector is limited to the inner Decl-Begin-End block. So kindly help me solve this problem. I get the feeling that if visibility is possible then vector size cannot be updated and vice versa. for ... loop _______________ | | | decl. | | | <-------- existing Vector is defined here (LI) | | _______________ | | | Begin | | | | <-------- Vector to be appended will be got here (LU) | | __________ | | | | | | decl. | | | | <--------- new appended Vector is defined here (LF:=LI+LU) __________ | | | | | | Begin | | | | | | | | <------- existing Vector is to be appended here (LF) | | | | | | End | | | | | | __________ | | | <------- How do I lookup the new appended vector here ? | | | End | _______________ end loop;