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
 Snippets: Reserved string in default value
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

dave_lf
Junior Member

15 Posts

Posted - Dec 09 2013 :  1:05:31 PM  Show Profile  Reply with Quote
I have a code snippet I've been using for a long time that includes a user argument "classname" which is supposed to default to the base filename. The important part looks like this:

class $classname=$FILE_BASE$$

This doesn't work anymore; it seems you can no longer embed one $ token inside another (I am not prompted for classname, and the output text ends up being "class $classname=$FILE_BASE$"). Is there a different way we're supposed to accomplish this?

Thanks for your help.

sean
Whole Tomato Software

USA
2817 Posts

Posted - Dec 09 2013 :  3:00:02 PM  Show Profile  Reply with Quote
Sorry - this will be fixed in the next build and this thread will be updated when it is released.

In the meantime, a possible workaround is to add a space between the $$:
class $classname=$FILE_BASE$ $
Go to Top of Page

dave_lf
Junior Member

15 Posts

Posted - Dec 09 2013 :  3:31:34 PM  Show Profile  Reply with Quote
That workaround does take care of it; thanks.
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