Hi Scott,
I made some "helloWorld" examples. In addition to Erics info it may be
of use.

>From some to many params :)

http://helloworld.tiddlyspace.com/#HelloWorldButtonPlugin
http://helloworld.tiddlyspace.com/#HelloWorldNamedParamsPlugin
http://helloworld.tiddlyspace.com/#HelloWorldManyParamsPlugin

have fun!
mario
On Jun 26, 5:08 pm, Scott Simmons <[email protected]> wrote:
> Hi, all —
>
> Can anyone tell me how to pass named parameters into a macro and use them to
> define variables?  What I'm looking to do is define a macro like so:
>
> > <<macroName parameter1:"value1" parameter2:"value2" parameter3:"value3">>
>
> And then use that values in my macro, as JS variables.
>
> I've tried:
>
> > var variable1 = getParam(params,"parameter1","");
>
> ... to no avail.  I suspect there's a simple syntax error at play, but I
> can't tell what it is.
>
> Does anyone have a moment to set me straight on how the getParam function
> works — or point me toward some helpful documentation?  :)

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.

Reply via email to