comp.lang.ada
 help / color / mirror / Atom feed
From: dewar@gnat.com (Robert Dewar)
Subject: Re: what means the " ' " in use with a record type?
Date: 26 Aug 2002 13:41:52 -0700
Date: 2002-08-26T20:41:53+00:00	[thread overview]
Message-ID: <5ee5b646.0208261241.49c5d9ce@posting.google.com> (raw)
In-Reply-To: rC_99.324$gK6.29595828@newssvr21.news.prodigy.com

tmoran@acm.org wrote in message news:<rC_99.324$gK6.29595828@newssvr21.news.prodigy.com>...
>   If x is an access to type node, why is the qualified expression needed,
> while it's not needed in:
>   type fruits is (apple, orange, banana);
>   type colors is (red, orange, yellow);
>   color : colors;
>   fruit : fruits;
> begin
>   color := orange;
>   fruit := orange;

Because you cannot look inside an aggregate to determine its type. See RM
for details, and AARM for motivational information.



  parent reply	other threads:[~2002-08-26 20:41 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <c923f575.0208231040.301add2@posting.google.com>
2002-08-23 20:16 ` what means the " ' " in use with a record type? tmoran
2002-08-24 13:19   ` Robert Dewar
2002-08-25  6:15     ` tmoran
2002-08-25 15:42       ` Ben Brosgol
2002-08-25 23:29         ` Steven Deller
2002-08-26  1:20           ` tmoran
2002-08-26 20:43             ` Robert Dewar
2002-08-26 20:41       ` Robert Dewar [this message]
2002-08-26 21:37         ` tmoran
2002-08-25  5:00 ` R. Tim Coslet
replies disabled

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