>  This example wouldn't work for a title containing spaces.
>

Ok, so let's consider the hypothetical syntax fixed...

>
\define tagging(title)
<$set name="tid" value="""$title$""" default="<<currentTiddler>>"/>
<$list filter="[[<<tid>>]tagging[]]"/>
\end

The trouble is that in many situations an empty string is a valid value 
> that shouldn't be defaulted; what we really want here is a way to detect 
> missing parameters.
>

How and when are variables evaluated? Could the evaluation return some 
*<<undefined>>* or *<<null>>* value subsequently passed to the set widget 
in order to trigger using a default fallback?

Best wishes, Tobias.

-- 
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