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: <7fk8c6$mbe$1@nnrp1.dejanews.com>#1/1 X-Deja-AN: 469019115 References: <371c84fb.0@silver.truman.edu> <87aew3j899.fsf@bglbv.my-dejanews.com> X-Http-Proxy: 1.0 x1.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 10:13:28 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 <87aew3j899.fsf@bglbv.my-dejanews.com>, bglbv@my-dejanews.com wrote: > "Josh Highley" writes: <> To expand on my previous short message. Just declare the type with a default discriminant. In this case you can freely alter the discriminant value later on, and such types compose freely (although some old compilers, notably the Alsys Ada 83 compiler had rather severe size limitations on the composition of such types). Of course typical compilers will allocate the maximum space for each element, so if this is not acceptable, you will indeed need to use pointers. -----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own