T
Terry Andersen
If I have:
struct one_{
unsigned int one_1;
unsigned short one_2;
unsigned short one_3;
};
struct two_{
unsigned int two_1;
unsigned short two_2;
unsigned char two_3;
};
struct mystruct{
struct one_ one;
struct two_ two;
}mystruct1;
Then could I by any change ask on the value of the whole struct mystruct1,
that is all the elements in the struct in one call? I want to do something
like (in pseudo like language):
if(mystruct1 == 0) { print("All elements of mystruct1 is zero");}
Best Regards
Terry
struct one_{
unsigned int one_1;
unsigned short one_2;
unsigned short one_3;
};
struct two_{
unsigned int two_1;
unsigned short two_2;
unsigned char two_3;
};
struct mystruct{
struct one_ one;
struct two_ two;
}mystruct1;
Then could I by any change ask on the value of the whole struct mystruct1,
that is all the elements in the struct in one call? I want to do something
like (in pseudo like language):
if(mystruct1 == 0) { print("All elements of mystruct1 is zero");}
Best Regards
Terry