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,ad4585f2971e47c5 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news4.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Bill Findlay Newsgroups: comp.lang.ada Subject: Re: Need some light on using Ada or not Date: Sat, 19 Feb 2011 18:07:49 +0000 Message-ID: References: <4d5ef836$0$23753$14726298@news.sunsite.dk> <7ibvl6tn4os3njo3p4kek9kop44nke3n7t@4ax.com> <5b10m6ts00bu7shkou40j6pq0gg14tdrnn@4ax.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Trace: individual.net wZFoKnUMxzmRh9FBvhB8ZQwVMnY2rWC7BNKK4CkSdnOWULHzZn Cancel-Lock: sha1:a5FqFMnlWrKtwT9f4o9gKo2O3tY= User-Agent: Microsoft-Entourage/12.28.0.101117 Thread-Topic: Need some light on using Ada or not Thread-Index: AcvQX+rN9vIDtAVPgEWPfGeC0PExyg== Xref: g2news2.google.com comp.lang.ada:18427 Date: 2011-02-19T18:07:49+00:00 List-Id: On 19/02/2011 18:02, in article 5b10m6ts00bu7shkou40j6pq0gg14tdrnn@4ax.com, "Brian Drummond" wrote: > On Sat, 19 Feb 2011 14:17:18 +0000, Simon Wright wrote: > >> Brian Drummond writes: >> >>> Another example : moving an array from local variable (the stack) to >>> the heap (after I increased its size and hit a stack size limit) meant >>> I had to refer to it through an access type, instead of >>> directly. Instead of "my_array(I,J,K)" I was faced with changing every >>> reference to "my_array_ptr.all(I,J,K)" ... >> >> Really? I think that "my_array_ptr(I,J,K)" would have worked .. > > I believe you are correct sir! > Which is even simpler than the rename... And if you call the pointer "my_array" you don't need to change anything. -- Bill Findlay with blueyonder.co.uk; use surname & forename;