On Saturday, March 7, 2015 at 8:00:53 AM UTC-8, Jed Carty wrote:
>
> Action widgets use $ for the parameters, I am assuming that is because you 
>> can pass (some of) them lists of name=value pairs, like the setfield 
>> widget. The $ in needed to distinguish between things like in this example
>>
>
> <$action-setfield $tiddler=SomeTiddler tiddler=hi/>
>>
>
> which sets the field called tiddler of SomeTiddler to hi. I am assuming 
> that $ was picked because it isn't a valid symbol in a field name. 
>


The $ prefix is used to differentiate parameters used by the widget itself 
as compared to parameters without the $, which are simply "passed through" 
to the specific macro or action being invoked by the widget.  For most 
widgets (except $macrocall and $action-xxx), the parameters do not have the 
$ prefix.

-e

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

Reply via email to