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-14 08:29:54 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.mathworks.com!wn13feed!worldnet.att.net!204.127.198.203!attbi_feed3!attbi.com!rwcrnsc53.POSTED!not-for-mail Message-ID: <3F8C166C.2030703@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> <3F89EB77.3030007@comcast.net> <3F8ADB3D.5010000@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: rwcrnsc53 1066145393 24.34.139.183 (Tue, 14 Oct 2003 15:29:53 GMT) NNTP-Posting-Date: Tue, 14 Oct 2003 15:29:53 GMT Organization: Comcast Online Date: Tue, 14 Oct 2003 15:29:53 GMT Xref: archiver1.google.com comp.lang.ada:822 Date: 2003-10-14T15:29:53+00:00 List-Id: Jeffrey Carter wrote: > That's a consequence of aliased I hadn't encountered, and the wrapper > trick is a good thing to know. I didn't realize I was getting into an > area that would require attention from the ARG. It seems like a > significant incompatability from Ada 83 not to allow assignment to > "normal" unconstrained record components. And given the aliased rule, which works fine with the wrapper type but not with discriminated component, I think GNAT's behavior is as it should be. It is just that to the exent that this behavior is changed from Ada 83, I would have expected it to be documented as such. The rule for aliased components may be a change from Ada 83, but the presence of aliased is all the documentation needed for that. But the rule for unaliased components may have implicitly changed here. Again it might be considered an extention, not a change, and as such not needed documentation. -- 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