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
 pPoint->x*pPoint.y . to -> conversion error
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

axel014
Junior Member

Romania
17 Posts

Posted - Feb 04 2005 :  08:02:22 AM  Show Profile  Reply with Quote
i have enabled convert dot to -> and it works fine except this situation. When doing a *(multiply), the right operand does not switch to ->, because of the preceeding *.
It's not really a big problem, but perhaps it can be fixed.. Anyways you people made a nice tool ;)

thanks

axel014
Junior Member

Romania
17 Posts

Posted - Feb 04 2005 :  08:06:31 AM  Show Profile  Reply with Quote
forgot the version info and all that, sorry :)

VA_X.dll file version 10.1.1293.0
VAOpsWin.dll version 1.2.0.4
DevEnv.exe version 7.10.3077.0
msenv.dll version 7.10.3077.0
Font: Courier New 13(Pixels)
Comctl32.dll version 5.82.2900.2180
WindowsNT 5.1 Build 2600 Service Pack 2
Single processor

Platform: Win32
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19022 Posts

Posted - Feb 04 2005 :  1:59:18 PM  Show Profile  Reply with Quote
i don't follow your example. could you post a couple of lines of code to illustrate what you mean?

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

Stephen
Tomato Guru

United Kingdom
781 Posts

Posted - Feb 07 2005 :  03:31:25 AM  Show Profile  Reply with Quote
The example is in the subject of the thread.

Stephen Turner
ClickTracks http://www.clicktracks.com/
Winner: ClickZ's Best Web Analytics Tool 2003 & 2004
Go to Top of Page

axel014
Junior Member

Romania
17 Posts

Posted - Feb 07 2005 :  05:47:54 AM  Show Profile  Reply with Quote
here's a little example:

typedef struct
{
int x;
} Foo;

Foo *b;
b->x*b.x; //1
b->x * b->x; //2

i actually wrote b.x*b.x on line 1 and b.x * b.x on line 2. The second one got converted ok, to b->.., but the second operand on line 1 does not, probably because it is proceeded by *.
As i said in the original post it's not relly a big issue :)
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19022 Posts

Posted - Feb 07 2005 :  2:57:59 PM  Show Profile  Reply with Quote
now i follow rather obviously the suggested work around is to put spaces around the multiplication star.

case=499

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

support
Whole Tomato Software

5566 Posts

Posted - Apr 14 2006 :  11:26:51 PM  Show Profile  Reply with Quote
Fixed in build 1445.
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