Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Snippets: Reserved string in default value

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
dave_lf Posted - Dec 09 2013 : 1:05:31 PM
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.
2   L A T E S T    R E P L I E S    (Newest First)
dave_lf Posted - Dec 09 2013 : 3:31:34 PM
That workaround does take care of it; thanks.
sean Posted - Dec 09 2013 : 3:00:02 PM
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$ $

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000