comp.lang.ada
 help / color / mirror / Atom feed
From: "Robert I. Eachus" <rieachus@comcast.net>
Subject: Re: strings and multidimensional arrays
Date: Tue, 14 Oct 2003 15:29:53 GMT
Date: 2003-10-14T15:29:53+00:00	[thread overview]
Message-ID: <3F8C166C.2030703@comcast.net> (raw)
In-Reply-To: m2Iib.110$7a4.105@newsread4.news.pas.earthlink.net

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




  reply	other threads:[~2003-10-14 15:29 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-12  4:05 strings and multidimensional arrays Andrew
2003-10-12  5:24 ` Andrew
2003-10-12  6:27   ` tmoran
2003-10-12 14:16   ` Robert I. Eachus
2003-10-12 19:34     ` Jeffrey Carter
2003-10-13  0:02       ` Robert I. Eachus
2003-10-13  3:14         ` Jeffrey Carter
2003-10-13 17:05           ` Robert I. Eachus
2003-10-13 18:49             ` Martin Dowie
2003-10-13 21:47               ` Mark Lorenzen
2003-10-14  1:10             ` Jeffrey Carter
2003-10-14 15:29               ` Robert I. Eachus [this message]
2003-10-12 21:01     ` Andrew
2003-10-13 13:59 ` Rodrigo Garcia
  -- strict thread matches above, loose matches on Subject: below --
2003-10-14  6:24 christoph.grein
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox