Re: strings and multidimensional arrays
From: Robert I. Eachus (rieachus_at_comcast.net)
Date: 10/14/03
- Next message: Jakob Bieling: "Re: Spell-checking source code"
- Previous message: Andrew: "Re: windows ada compiler error"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 14 Oct 2003 15:29:53 GMT
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
- Next message: Jakob Bieling: "Re: Spell-checking source code"
- Previous message: Andrew: "Re: windows ada compiler error"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|