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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,71c743c03ed191fe X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-09-15 12:04:09 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!arclight.uoregon.edu!enews.sgi.com!newspeer2.tds.net!news.binc.net!kilgallen From: Kilgallen@SpamCop.net (Larry Kilgallen) Newsgroups: comp.lang.ada Subject: Re: Beginer problem: variable array size Date: 15 Sep 2002 14:03:36 -0600 Organization: LJK Software Message-ID: References: NNTP-Posting-Host: eisner.encompasserve.org X-Trace: grandcanyon.binc.net 1032115243 2467 192.135.80.34 (15 Sep 2002 18:40:43 GMT) X-Complaints-To: abuse@binc.net NNTP-Posting-Date: Sun, 15 Sep 2002 18:40:43 +0000 (UTC) Xref: archiver1.google.com comp.lang.ada:28991 Date: 2002-09-15T14:03:36-06:00 List-Id: In article , "Nacho" writes: > That does not resolve the problem. I need to change the size of the array > after it has been created. With your solution once array_called_p has been > created it will never change its size. In fact, it will disappear entirely and be recreated the next time around the loop or the next time into the subroutine. I believe you are trying to force-fit a C-style approach to solving the problem in Ada, which is never a good idea. Remember the old saying: You can write Fortran in any language.