How can I check if a parameter passed to a macro is blank?

I have tried

\define purchased(name_id)
<$list 
filter="[tag[Artworks]!tag[Index]!<currentTiddler>search:name_id{[<<__name_id__>>]is[blank]then[XX]}sort[title]]}>&bull;
 
<$link to={{!!artwork_id}}><$view field="title"/> <$view 
field="artwork_title"/></$link><br/></$list>
\end

but this does not work. If name_id is empty I want to search to look for 
the string XX which I know doesn't exist.

bobj

-- 
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/71d799f2-e1c1-4882-a56f-499c74013adcn%40googlegroups.com.

Reply via email to