comp.lang.ada
 help / color / mirror / Atom feed
From: "Matthew Heaney" <matthew_heaney@acm.org>
Subject: Re: Variant Records
Date: 1999/09/14
Date: 1999-09-14T00:00:00+00:00	[thread overview]
Message-ID: <37de56f8@news1.prserv.net> (raw)
In-Reply-To: 202784de.3f456337@usw-ex0106-042.remarq.com

In article <202784de.3f456337@usw-ex0106-042.remarq.com> , Shawn Barber 
<SbarberNOksSPAM@snet.net>  wrote:

> I have recently run into a small problem using variant records. I have been
> forced (against my better judgement) to use a data structure consisting of a
> variant record,

What do you have against variant records?


> and in this variant record a field of a particular variant is another variant
> record.

What's wrong with that?


> I already know the pain which has been inflicted by using such a data
> structure.

What kind of pain?  Depending on the nature of your problem, that might be
exactly the data structure you need.


> My question is when I do a compare, say Var_1 = Var_2 or an assignment are the
> fields compaired/assigned field by field or all at once or in some other
> manner? Thanks.

Both comparison and assignment are done field-by-field, although this isn't
something you'll find in the RM.  How else would you expect it to be done?
And why do you need to know?

Give us some specific details about what you think the problem is.





  reply	other threads:[~1999-09-14  0:00 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-09-14  0:00 Variant Records Shawn Barber
1999-09-14  0:00 ` Matthew Heaney [this message]
1999-09-14  0:00 ` Mark Lundquist
1999-09-14  0:00 ` David C. Hoos, Sr.
  -- strict thread matches above, loose matches on Subject: below --
2004-02-15 22:51 Variant records Ganesh Ramasivan
2004-02-16 10:57 ` Preben Randhol
2004-02-16 15:25   ` Ganesh Ramasivan
2004-02-16 15:46     ` Ludovic Brenta
2004-02-16 16:16     ` Preben Randhol
2004-02-17 14:37       ` Ganesh Ramasivan
2004-02-17 15:43         ` Preben Randhol
2004-02-16 16:59   ` Ganesh Ramasivan
2004-02-16 20:14     ` Simon Wright
2004-02-17 14:56       ` Ganesh Ramasivan
2004-02-17 15:31         ` Robert I. Eachus
2004-02-16 23:17 ` tmoran
1986-10-31  9:08 variant records Dean Luick
1986-11-03 14:17 ` Bev Sobelman
1986-11-05 16:35 ` stuart
1986-11-06 15:40 ` stt
replies disabled

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