comp.lang.ada
 help / color / mirror / Atom feed
From: "Nick Roberts" <nickroberts@callnetuk.com>
Subject: Re: Maybe not exactly a variant record.
Date: 1999/04/23
Date: 1999-04-23T00:00:00+00:00	[thread overview]
Message-ID: <371fc4f4@eeyore.callnetuk.com> (raw)
In-Reply-To: 7fo4ga$8pf$1@nnrp1.dejanews.com

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.








      reply	other threads:[~1999-04-23  0:00 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-04-20  0:00 Can I have an array of variant records? Josh Highley
1999-04-20  0:00 ` bglbv
1999-04-21  0:00   ` Robert Dewar
1999-04-21  0:00     ` bglbv
1999-04-22  0:00       ` dennison
1999-04-21  0:00     ` Pawel Kobylarz
1999-04-21  0:00       ` dennison
1999-04-21  0:00         ` Robert Dewar
1999-04-22  0:00           ` Josh Highley
1999-04-23  0:00           ` Pawel Kobylarz
1999-04-21  0:00       ` David C. Hoos, Sr.
1999-04-21  0:00         ` Robert Dewar
1999-04-21  0:00       ` czgrr
1999-04-21  0:00 ` Robert Dewar
1999-04-22  0:00 ` Maybe not exactly a variant record Josh Highley
1999-04-22  0:00   ` dennison
1999-04-23  0:00     ` Nick Roberts [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox