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 doesn't like me #defining "and"/"or"
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

ShiningMasamune
New Member

USA
3 Posts

Posted - Aug 18 2007 :  10:54:30 PM  Show Profile  Reply with Quote
I'm using C++ with Visual Assist build 1559, and I've noticed a coloring bug. In the interest of more readable code, I like to use the defines "#define and &&" and "#define or ||" when I program. However, when used in an If statement, it seems to mess up VA's coloring. For example:

if(x > y and z > 5) z = 0;

x and z are colored gray, as they should be. However, VA colors y blue. This seems to happen whenever a variable is used directly before the "and"/"or" symbol in an If statement. Please fix this in a future version.

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Aug 20 2007 :  07:22:21 AM  Show Profile  Reply with Quote
I am seeing the same effect here. Thank you for the clear description.

case=8294

zen is the art of being at one with the two'ness
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