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,FREEMAIL_FROM, 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: "Nick Roberts" Subject: Re: Maybe not exactly a variant record. Date: 1999/04/23 Message-ID: <371fc4f4@eeyore.callnetuk.com>#1/1 X-Deja-AN: 469781530 References: <371c84fb.0@silver.truman.edu> <371f1e6d.0@silver.truman.edu> <7fo4ga$8pf$1@nnrp1.dejanews.com> X-Original-NNTP-Posting-Host: da129d41.dialup.callnetuk.com X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 X-Complaints-To: newsabuse@remarq.com X-Trace: 924828913 02H499TBW8004D443C uk21.supernews.com Organization: RemarQ http://www.remarQ.com Newsgroups: comp.lang.ada Date: 1999-04-23T00:00:00+00:00 List-Id: dennison@telepath.com wrote in message <7fo4ga$8pf$1@nnrp1.dejanews.com>... [...] |Yes, it is called a variant record, with "length" as the variant. Also the |available record fields *do* change, after a fashion. Incrementing foo.length |gives you an extra value in foo.text No, it's not a variant record; it's a 'discriminated' record, with 'length' as the discriminant. A variant record is one with a 'case ...' construct within it.