Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Feature Requests
 Parse variable of structure defined by MACRO?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

yao_xuejun
Junior Member

21 Posts

Posted - Jun 05 2006 :  03:03:47 AM  Show Profile  Reply with Quote
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!





rhummer
Tomato Guru

USA
527 Posts

Posted - Jun 05 2006 :  09:24:07 AM  Show Profile  Reply with Quote
As stated in this topic, no VA X cannot.

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

Tools Engineer - Raven Software
VS2005 SP2/VS2008 SP1 - VAX <LATEST> - Win 7 x64

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000