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=-0.0 required=5.0 tests=BAYES_40 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,59e1f81123faf689 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-08-26 13:41:53 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: dewar@gnat.com (Robert Dewar) Newsgroups: comp.lang.ada Subject: Re: what means the " ' " in use with a record type? Date: 26 Aug 2002 13:41:52 -0700 Organization: http://groups.google.com/ Message-ID: <5ee5b646.0208261241.49c5d9ce@posting.google.com> References: <5ee5b646.0208240519.9e2a872@posting.google.com> NNTP-Posting-Host: 209.101.126.29 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1030394513 25999 127.0.0.1 (26 Aug 2002 20:41:53 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 26 Aug 2002 20:41:53 GMT Xref: archiver1.google.com comp.lang.ada:28428 Date: 2002-08-26T20:41:53+00:00 List-Id: tmoran@acm.org wrote in message news:... > 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.