Hi Reza,
Could you clarify your question? Are you trying to store variables of
different types in an array or do you have a number of variables of the
same type (ex. Int32, or real64)? If you have a number of variables of
differing types such as strings, integers and reals, that are somehow
related you can put them together in a record, where each variable
becomes a field in that record and can be accessed (set or get), using
the dot notation. For example if you have a record variable named
"MyRec" and you have field of type text in that record named "path", you
can access it in a formula object in the following way:
MyRec.path = "C:\temp";
Or
A = MyRec.path
Let me know if this answers your question.
Regards,
Dara Sariaslani
Measurement Architect
Component Test Division
Agilent Technologies
-----Original Message-----
From: Reza Saleh (Ext-User /Bochum)
[mailto:resaleh@bomail.europe.nokia.com]
Sent: Monday, October 27, 2003 12:18 AM
Subject: Index of Array
Hi All
Is it possible to keep data in an array by assigning particular index?
for example from a set of variable , variable X will be always kept in
the index number Y in the array(where the array has say for 10 indexes).
And when required is it possible to ask the value of index Y and read it
from the array?. If possible then can any body tell me how to realize it
in VEE. Would be great full.
Reza
---
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@it.lists.it.agilent.com".
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".
Could you clarify your question? Are you trying to store variables of
different types in an array or do you have a number of variables of the
same type (ex. Int32, or real64)? If you have a number of variables of
differing types such as strings, integers and reals, that are somehow
related you can put them together in a record, where each variable
becomes a field in that record and can be accessed (set or get), using
the dot notation. For example if you have a record variable named
"MyRec" and you have field of type text in that record named "path", you
can access it in a formula object in the following way:
MyRec.path = "C:\temp";
Or
A = MyRec.path
Let me know if this answers your question.
Regards,
Dara Sariaslani
Measurement Architect
Component Test Division
Agilent Technologies
-----Original Message-----
From: Reza Saleh (Ext-User /Bochum)
[mailto:resaleh@bomail.europe.nokia.com]
Sent: Monday, October 27, 2003 12:18 AM
Subject: Index of Array
Hi All
Is it possible to keep data in an array by assigning particular index?
for example from a set of variable , variable X will be always kept in
the index number Y in the array(where the array has say for 10 indexes).
And when required is it possible to ask the value of index Y and read it
from the array?. If possible then can any body tell me how to realize it
in VEE. Would be great full.
Reza
---
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@it.lists.it.agilent.com".
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".
Is it possible to keep data in an array by assigning particular index? for
example from a set of variable , variable X will be always kept in the index
number Y in the array(where the array has say for 10 indexes). And when
required is it possible to ask the value of index Y and read it from the
array?. If possible then can any body tell me how to realize it in VEE.
Would be great full.
Reza
---
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@it.lists.it.agilent.com".
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".