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,26aa6d7095c151 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-10-22 11:57:26 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!headwall.stanford.edu!newsfeed.news2me.com!newsfeed2.earthlink.net!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!newsread1.prod.itd.earthlink.net.POSTED!not-for-mail Message-ID: <3DB59F92.1060600@acm.org> From: Jeffrey Carter User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.0.0) Gecko/20020530 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Porting from Modula-2 to Ada References: <3DAFC542.152C0EE0@lml.ls.fi.upm.es> <3DB50455.E7964582@lml.ls.fi.upm.es> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Date: Tue, 22 Oct 2002 18:56:37 GMT NNTP-Posting-Host: 63.184.8.189 X-Complaints-To: abuse@earthlink.net X-Trace: newsread1.prod.itd.earthlink.net 1035312997 63.184.8.189 (Tue, 22 Oct 2002 11:56:37 PDT) NNTP-Posting-Date: Tue, 22 Oct 2002 11:56:37 PDT Organization: EarthLink Inc. -- http://www.EarthLink.net Xref: archiver1.google.com comp.lang.ada:30043 Date: 2002-10-22T18:56:37+00:00 List-Id: Manuel Collado wrote: > Thanks to all who respond. After considering the suggestions, I think > I'll keep the initial proposed scheme. It doesn't follow the Ada > programming style, but is straightforward. And in some cases it can be > reduced in fact to passing the address, because the size is already an > explicit parameter in some procedures. This is the way C does it. Decades of experience with C have shown that this is the source of many subtle errors. Enjoy your long nights with the debugger. -- Jeff Carter "This school was here before you came, and it'll be here before you go." Horse Feathers