AnsweredAssumed Answered

vrf Defining Global Variable consisting of a record of records

Question asked by VRFuser on Aug 1, 2006
"HOUSTON,TOM" <tom.houston@avagotech.com> wrote:
> I routinely use a record that contains other records when reading in a
> configuration data file.  I would like to declare a Global and assign
> this data structure.
>

>
> I have a record of 8 text fields that contain individual switch
> settings.  I then have a record that contains 12 of these switch
> setting records corresponding to different tests to be performed.
>

>
> I can declare the Global as a record, but when I go to set the fields,
> it does not give me a data type of record to use in declaring the field.

Declare the global as a "variant" - then you can assign anything you want to it.

Stan


--------------------------------------------------------------------------
Stan Bischof  Agilent Technologies  707-577-3994  stan_bischof@agilent.com
--------------------------------------------------------------------------

---
To subscribe please send an email to: "vrf-request@lists.it.agilent.com" with the word subscribe in the message body.
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list,  email "vrf@agilent.com". 
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".
Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".

Outcomes