On Sunday, April 19, 2020 at 5:13:25 PM UTC+2, Mat wrote:
>
> Macros themselves don't require that all arguments are actually used. If 
> all are needed depends only on the logic that you create inside the macro. 
>
> \define foo(bar, baz) $bar$ and $baz$
>
> <<foo YO>> -------> YO and
>
> However be careful because the first argument that you put in the 
> macrocall is interpreted as the first parameter. So you must either specify 
> which parameter:
>
> <<foo bar:"YO">> ---------> and YO
>
> (in this particular case, because there are no spaces in YO, it could 
> actually be merely bar:YO )
>
> or give an empty argument
>
> <<foo "" YO>>  ---------> and YO
>
>
> <:-)
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/97e96bf3-900c-47c0-8012-adbb66552ad5%40googlegroups.com.

Reply via email to