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
 Snippet $FILE_XYZ$ always inserts complete path
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

andre.horst
Tomato Guru

Germany
150 Posts

Posted - Jan 20 2010 :  04:07:40 AM  Show Profile  Reply with Quote
Latest VAX, WinXP SP3, VC++6.

I just changed a snipped and inserted the $FILE$ placeholder. Then I used the snippet in a .h file and the complete file path was inserted. I am sure that this was not intended. So i actually use $FILE_BASE$.$FILE_EXT$ insted of $FILE$ only.

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Jan 20 2010 :  4:09:47 PM  Show Profile  Reply with Quote
From this page:
http://www.wholetomato.com/products/features/vasnippets.asp

at the descriptions of Reserved Strings:
quote:

$FILE$ Full filename with path*


So it seems to be intended.

Edited by - accord on Jan 20 2010 4:10:18 PM
Go to Top of Page

andre.horst
Tomato Guru

Germany
150 Posts

Posted - Jan 21 2010 :  03:02:52 AM  Show Profile  Reply with Quote
Thanks for the quick reply.
Ok. Therefor $FILE_PATH$\\$FILE_BASE$.$FILE_EXT$ produces $FILE$. Well, then I'd like to have a feature request for $FILE_NAME$, $FILE_DRIVE$ and $FILE_PATH_RELATIVE$ . No, just kidding
Go to Top of Page

sean
Whole Tomato Software

USA
2817 Posts

Posted - Jan 21 2010 :  2:21:14 PM  Show Profile  Reply with Quote
$FILE$ was the first one added. The others were added by request after the fact and we wanted to retain backward compatibility so didn't change $FILE$.
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