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
 Escape character for %?
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

dingweed
Senior Member

37 Posts

Posted - Jan 31 2005 :  1:47:39 PM  Show Profile
I have this small problem

If I have this line in the autotext

lch:
LogComment(_T("[ERROR] -?. Error: 0x%08X"), hr);

then I type lch in the edior the percent sign is replaced with lch
so I get this

LogComment(_T("[ERROR] -?. Error: 0xlch8X"), hr);

is there a way to escape %0?

support
Whole Tomato Software

5566 Posts

Posted - Jan 31 2005 :  3:42:49 PM  Show Profile
Replace your % with %%

http://www.wholetomato.com/products/features/autotext.html?more=yes&goto=definingAutotext
Go to Top of Page

dingweed
Senior Member

37 Posts

Posted - Jan 31 2005 :  4:21:17 PM  Show Profile
quote:
Originally posted by support

Replace your % with %%

http://www.wholetomato.com/products/features/autotext.html?more=yes&goto=definingAutotext



Tried that still doesn't work then I get this

LogComment(_T("[ERROR] . Error: 0x%lch8X"), hr);



[info]
VA_X.dll file version 10.1.1289.0
Licensed to:
VA X:
VA.NET 7.1:
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.2175
WindowsNT 5.1 Build 2600 Service Pack 2
2 processors

Platform: Custom
Stable Includes:
D:\\vbluxdev\\public\\sdk\\inc;
c:\\program files\\microsoft visual studio .net 2003\\vc7\\include;
c:\\program files\\microsoft visual studio .net 2003\\vc7\\atlmfc\\include;
c:\\program files\\microsoft visual studio .net 2003\\vc7\\PlatformSDK\\include\\prerelease;
c:\\program files\\microsoft visual studio .net 2003\\vc7\\PlatformSDK\\include;
c:\\program files\\microsoft visual studio .net 2003\\sdk\\v1.1\\include;

Library Includes:
c:\\program files\\microsoft visual studio .net 2003\\vc7\\atlmfc\\src\\mfc;
c:\\program files\\microsoft visual studio .net 2003\\vc7\\atlmfc\\src\\atl;
c:\\program files\\microsoft visual studio .net 2003\\vc7\\crt\\src;




Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Jan 31 2005 :  5:32:31 PM  Show Profile
interesting. i ran into this myself a little while ago, but ended up reading the documentation on templates, not autotext in an effort to work out what was going on. i can confirm that using %% instead of % does not help here.

case=487

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

support
Whole Tomato Software

5566 Posts

Posted - Feb 01 2005 :  12:46:54 AM  Show Profile
feline is right. %% does not work as documented.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000