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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,48bf593f723b7524 X-Google-Attributes: gid103376,public From: Robert Dewar Subject: Re: Can I have an array of variant records? Date: 1999/04/21 Message-ID: <7flglu$sth$1@nnrp1.dejanews.com>#1/1 X-Deja-AN: 469247357 References: <371c84fb.0@silver.truman.edu> <87aew3j899.fsf@bglbv.my-dejanews.com> <7fk8c6$mbe$1@nnrp1.dejanews.com> <371DC9BE.585254A6@wbkst21.mach.uni-karlsruhe.de> <7fkkob$t1p@hobbes.crc.com> X-Http-Proxy: 1.0 x9.dejanews.com:80 (Squid/1.1.22) for client 205.232.38.14 Organization: Deja News - The Leader in Internet Discussion X-Article-Creation-Date: Wed Apr 21 21:41:18 1999 GMT Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.04 [en] (OS/2; I) Date: 1999-04-21T00:00:00+00:00 List-Id: In article <7fkkob$t1p@hobbes.crc.com>, "David C. Hoos, Sr." wrote: > The entire record must be assigned at once with an > aggrgate expression -- (well not necessarily an aggregate, just some value of the type ...) But the thing to note here is that this rule is not some kind of annoying arbitrary restriction, it is quite fundamental. When you change the discriminant, you change the contents of the record that are accessible, it is therefore ESSENTIAL to assign the record contents at the same time, otherwise you could get garbage values being suddenly accessible. -----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own