I'm using this method to create a Global Data Stream at the start of my
code. Of course, it has to be a big program with a lot of variables.
This will reduce your debug time if you were using a lot of global
variables. Another advantage is not to have to declare them.
Record on the Fly RULE!!
Han
-----Original Message-----
From: Rufus Warren [mailto:rwarren@amti.net]
Sent: Friday, December 10, 2004 11:49 AM
To: VRF
Subject: [vrf] RE: HashTable with Records in it??
Yes you can, create the records on the fly wither you place a record into a
build data record input pin or build it using a container. The record will
always be global since it cannot be declared. Or at least I do not know how
to declare it.
rufus
-----Original Message-----
From: g.nied@gn-software.de [mailto:g.nied@gn-software.de]
Sent: Friday, December 10, 2004 6:38 AM
To: VRF
Subject: [vrf] RE: HashTable with Records in it??
When you export a record as a container you can examine the format of the
vee record structure. If you now change the ascii file (the container)
according to the syntax you are able to reimport records as containters that
have records as record.fields. VEE itself has no possibility to create such
a structure but it can work with it.
best regards,
Georg
Georg Nied . Software-Development . Hansestr. 7 . 51149 Cologne . Germany
Tel: +49 (2203) 9770915 . Fax: +49 (2203) 9770924 . E-Mail:
info@gn-software.de
---
You are currently subscribed to vrf as: tranh@tycoelectronics.com
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
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".
---
You are currently subscribed to vrf as: rsb@soco.agilent.com
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
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".
code. Of course, it has to be a big program with a lot of variables.
This will reduce your debug time if you were using a lot of global
variables. Another advantage is not to have to declare them.
Record on the Fly RULE!!
Han
-----Original Message-----
From: Rufus Warren [mailto:rwarren@amti.net]
Sent: Friday, December 10, 2004 11:49 AM
To: VRF
Subject: [vrf] RE: HashTable with Records in it??
Yes you can, create the records on the fly wither you place a record into a
build data record input pin or build it using a container. The record will
always be global since it cannot be declared. Or at least I do not know how
to declare it.
rufus
-----Original Message-----
From: g.nied@gn-software.de [mailto:g.nied@gn-software.de]
Sent: Friday, December 10, 2004 6:38 AM
To: VRF
Subject: [vrf] RE: HashTable with Records in it??
When you export a record as a container you can examine the format of the
vee record structure. If you now change the ascii file (the container)
according to the syntax you are able to reimport records as containters that
have records as record.fields. VEE itself has no possibility to create such
a structure but it can work with it.
best regards,
Georg
Georg Nied . Software-Development . Hansestr. 7 . 51149 Cologne . Germany
Tel: +49 (2203) 9770915 . Fax: +49 (2203) 9770924 . E-Mail:
info@gn-software.de
---
You are currently subscribed to vrf as: tranh@tycoelectronics.com
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
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".
---
You are currently subscribed to vrf as: rsb@soco.agilent.com
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
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".
Interesting idea. To complete this, all you need is the structure of the
System.Object[] elements retrieved. You can do this via System.Reflection.
Another idea is to define a common record format that contains sufficient
space for all potential elements - much like a C union. For a good example,
see the declaration of type VARIANT.
Another thing you can do is store records as Variants in a Variant array.
Each specific element of the array is Variant, allowing it to contain
different types or even compound types (i.e., specific record types).
-SHAWN-
---
You are currently subscribed to vrf as: rsb@soco.agilent.com
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
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".