Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 1559 changes . to -> when it shouldn't.

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
ShiningMasamune Posted - Aug 24 2007 : 10:55:26 PM
It seems 1559 changes .'s to ->'s when it shouldn't. Example:

POINT* pt1;
pt1[i].x = j;

This works fine, 1559 doesn't change the . to a ->. However, if I add an initializer..

POINT* pt2 = new POINT[50];
pt2[i]->x = j;

1559 changes the . to a ->, even though it shouldn't. This occurs for pointers to any type, as long as they are declared with an initializer. This glitch is *extremely* annoying; please try to fix in the next release.
2   L A T E S T    R E P L I E S    (Newest First)
support Posted - Sep 14 2007 : 02:29:39 AM
case=8395 is fixed in Build 1561
feline Posted - Aug 27 2007 : 12:34:06 PM
I am seeing the same effect here. Thank you for the clear description.

case=8395

For now if you can move the "new" onto a separate line, so you have:

POINT* pt2;
pt2 = new POINT[50];
pt2[i].x = j;

the problem does not occur. Also if you press back space after the dot is converted then the dot to -> conversion is undone, which is something.

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