yao_xuejun
Junior Member
21 Posts |
Posted - Jun 05 2006 : 03:03:47 AM
|
Suppose: ---------------------------------------------- typedef struct testStructure { int member_1; int member_2;
}TEST_STRUCTURE;
TEST_STRUCTURE g_TestStructure;
#define TEST_MEMBER(n) g_TestStructure.n --------------------------------------------------- Then: --------------------------------------------------- if (TEST_MEMBER(member_1) > TEST_MEMBER(member_2)) { ... } --------------------------------------------------- Can VAX recognize the 'member_1' or 'member_2'?
Thanks!
|
|