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,5556ca7de188d5ef X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-12-13 01:02:48 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!t-online.de!news-FFM2.ecrc.net!news.iks-jena.de!lutz From: lutz@iks-jena.de (Lutz Donnerhacke) Newsgroups: comp.lang.ada Subject: Re: Multidimensional array vs. array of array Date: Thu, 13 Dec 2001 09:02:39 +0000 (UTC) Organization: IKS GmbH Jena Message-ID: References: <3C17F5BF.AEBE40C3@worldnet.att.net> NNTP-Posting-Host: taranis.iks-jena.de X-Trace: branwen.iks-jena.de 1008234159 25251 217.17.192.37 (13 Dec 2001 09:02:39 GMT) X-Complaints-To: usenet@iks-jena.de NNTP-Posting-Date: Thu, 13 Dec 2001 09:02:39 +0000 (UTC) User-Agent: slrn/0.9.6.3 (Linux) Xref: archiver1.google.com comp.lang.ada:17874 Date: 2001-12-13T09:02:39+00:00 List-Id: * James Rogers wrote: >Lutz Donnerhacke wrote: >> I read all the discussions about Ada83/95 multidimensional arrays and know >> where the limitation comes from. But I still ask: How does a skilled Ada >> programmer return a array of arrays? > >You can do it two different ways: > >1) Put the array of arrays in a record and return the record I'm unable to do this. Example? >2) Create an access type for the array of arrays. Dynamically > allocate the array of arrays, and return its access value. *gna* No way. *drawing anti-satan symbols*