Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 Fail to recognize struct members

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
kennyl Posted - Nov 12 2012 : 11:30:40 PM

struct OSPACELIMITS
{
	double from;
	double to;
};

struct OSpaceLimits : public OSPACELIMITS
{
};

void test()
{
	OSPACELIMITS limits1;
	limits1.from = 11;	// from is underlined
	limits1.to   = 22;;	// to is underlined

	OSpaceLimits limits2;
	limits2.from = 3.14;	// from is underlined
	limits2.to   = 1.23;	// to is underlined
}


Note:
1. The two struct use the same name, it's just that one is completely upper case, while the other use Hungarian notation.
2. If you comment out the second struct (OSpaceLimits), then there will be no underline for the member of limits1.
2   L A T E S T    R E P L I E S    (Newest First)
support Posted - Dec 17 2012 : 11:50:01 PM
case=70618 is fixed in build 1925
sean Posted - Nov 16 2012 : 10:10:41 AM
Strange. Thanks for the report. case=70618

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