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 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,330ec86e1824a689 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-08-28 04:04:54 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!postnews1.google.com!not-for-mail From: dewar@gnat.com (Robert Dewar) Newsgroups: comp.lang.ada Subject: Re: Run-Time Type Assignment Date: 28 Aug 2002 04:04:50 -0700 Organization: http://groups.google.com/ Message-ID: <5ee5b646.0208280304.614d11fc@posting.google.com> References: NNTP-Posting-Host: 209.101.126.29 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1030532691 1375 127.0.0.1 (28 Aug 2002 11:04:51 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 28 Aug 2002 11:04:51 GMT Xref: archiver1.google.com comp.lang.ada:28483 Date: 2002-08-28T11:04:51+00:00 List-Id: "Robert C. Leif" wrote in message news:... > The variant record approach possibly > would have worked in Pascal; however, it did not compile in the > cost-free GNAT compiler. The approach could work fine, but obviously the compiler would be expected to reject the illegal Ada code you fed into it (this does not haave to do with "cost-free", it has to do with rules in the RM :-) it is of course the case that anything you can do in Pascal can easily be done in Ada