B
Bob Altman
Hi all,
I'm struggling to do something really basic. How do I declare a structure
that has a union that maps an array of 3 chars with 3 distinct char
variables. In other words, I want the following two statements to put the
same value into the same byte in the structure:
myStruct.Vars[1] = 5;
myStruct.Var1 = 5;
TIA - Bob
I'm struggling to do something really basic. How do I declare a structure
that has a union that maps an array of 3 chars with 3 distinct char
variables. In other words, I want the following two statements to put the
same value into the same byte in the structure:
myStruct.Vars[1] = 5;
myStruct.Var1 = 5;
TIA - Bob