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
 Listbox suggestions and numbers
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

SvenR
Tomato Guru

110 Posts

Posted - Jul 15 2015 :  02:30:34 AM  Show Profile  Reply with Quote
Sample code:

int x = 6;
CRect rcTest(5, x, 5, 5);

When I put the cursor before the x and enter movef then VA suggests 'MoveFile'. I press <Tab> and MoveFile is inserted. If I do the same in front of a 5, then MoveFile is inserted and 5 deleted. MoveFile is only used for demonstration, in real world MoveFile is a macro.

Is this intentional? I would expect no difference in behavior between a variable and a number.

Windows 11 x64, VS 2022, VaX 10.9.2530

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Jul 15 2015 :  9:35:08 PM  Show Profile  Reply with Quote
Good catch!

The replace only happens when there is at least one numerical character in the string. I have put in a bug report for this, and also asked if this is intentional or not.

case=90866
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