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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,3957a46660bc0588 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-10-12 17:02:41 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.mathworks.com!wn13feed!wn11feed!worldnet.att.net!204.127.198.203!attbi_feed3!attbi_feed4!attbi.com!sccrnsc04.POSTED!not-for-mail Message-ID: <3F89EB77.3030007@comcast.net> From: "Robert I. Eachus" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.2) Gecko/20021120 Netscape/7.01 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: strings and multidimensional arrays References: <3F88D320.80706@chartermi.net> <3F88E586.5060809@chartermi.net> <3F89621F.7070406@comcast.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 24.34.139.183 X-Complaints-To: abuse@comcast.net X-Trace: sccrnsc04 1066003359 24.34.139.183 (Mon, 13 Oct 2003 00:02:39 GMT) NNTP-Posting-Date: Mon, 13 Oct 2003 00:02:39 GMT Organization: Comcast Online Date: Mon, 13 Oct 2003 00:02:40 GMT Xref: archiver1.google.com comp.lang.ada:756 Date: 2003-10-13T00:02:40+00:00 List-Id: Jeffrey Carter wrote: > This is along the lines of what I was going to suggest. I don't > understand, though, why you wrapped the Contents record in the > Element record. I would simply say > > type Thing is array (Positive range <>, Positive range <>) of > Content; > > Since you're a language lawyer and I'm not, I guess I'm missing > something here, and wonder what it is. You can't have an array of unconstrained records, and Content is an unconstrained record type. (Try it.) Wrapper is a constrained type, even though it has an unconstrained record type within it. Or I could just say that it was necessary magic. ;-) -- Robert I. Eachus "Quality is the Buddha. Quality is scientific reality. Quality is the goal of Art. It remains to work these concepts into a practical, down-to-earth context, and for this there is nothing more practical or down-to-earth than what I have been talking about all along...the repair of an old motorcycle." -- from Zen and the Art of Motorcycle Maintenance by Robert Pirsig