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
 Technical Support
 1559 changes . to -> when it shouldn't.
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

ShiningMasamune
New Member

USA
3 Posts

Posted - Aug 24 2007 :  10:55:26 PM  Show Profile  Reply with Quote
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.

feline
Whole Tomato Software

United Kingdom
18943 Posts

Posted - Aug 27 2007 :  12:34:06 PM  Show Profile  Reply with Quote
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.

zen is the art of being at one with the two'ness
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - Sep 14 2007 :  02:29:39 AM  Show Profile  Reply with Quote
case=8395 is fixed in Build 1561
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