Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 Parse variable of structure defined by MACRO?

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
yao_xuejun 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!





1   L A T E S T    R E P L I E S    (Newest First)
rhummer Posted - Jun 05 2006 : 09:24:07 AM
As stated in this topic, no VA X cannot.

http://forum.wholetomato.com/forum/topic.asp?TOPIC_ID=4704

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000