After several hours of searching, reading and trying, I've solved my problem:
\define testmacro(param1,param2) $param1$ $param2$ <$list filter="[[$param2$]match[]]" variable=nul> (param2 is missing.) </$list> <$list filter="[[$param2$]!match[]]" variable=nul> (param2 is present, the value is $param2$.) </$list> \end The call: <<testmacro 1>> <<testmacro 1 2>> renders as: 1 (param2 is missing.) 1 2 (param2 is present, the value is 2.) Martin -- You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywikidev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywikidev/71c09303-d881-4b91-8284-92822745fc3e%40googlegroups.com.