07-12-2005 03:26 AM
07-12-2005 01:30 PM
07-12-2005 02:53 PM
Prado,
Do you actually want to create a struct or do you want to create an array?
Using a struct will not result in this:
It will result in this:
typedef struct
{
char mau1[4];
int valor1;
char mau2[5];
int valor2;
} _estruct_name;
The data is then accessed by doing this:
estruct_name.mau1
notice the dot separating the structure name and the value you are looking for.
That is what I get the impression that you want to create arrays to store different values within the same valiable name, such as
mau[array_index]="test"
valor[array_index]=123.12
Example:
mau[0] = "test1"
mau[1] = "other test"
mau[2] = "some other title"
valor[0] = 123.12
valor[1] = 333.22
valor[2] = 543.12
So that when you index the array, you can associate values for the same iteration, such as:
test1 other test some other title
123.12 333.22 543.12
Is what I am describing what you are looking for??
JLV
😄
07-13-2005 10:36 AM
I really need a course on speed reading... 😉
Also see what Roberto has to say here:
http://forums.ni.com/ni/board/message?board.id=180&message.id=17383
And please disregard my previous post...
JLV