I am trying to compute a variable text reference for use in a filter,
but somehow that doesn't seem to work...

A demo: Variable Text Reference @ tbdemo 
<http://tbdemo.tiddlyspot.com/#Variable%20Text%20Reference>

The code...

\define each()
[has[$(field)$]each[$(field)$]sort[$(field)$]]
\end

\define group()
{{$(exampleTiddler)$!!$(field)$}}
\end

\define items()
[field:$(field)$[$(currentGroup)$]sort[]]
\end

\define list-each(field:"type")
<$set name=field value="$field$">
<$list filter=<<each>> variable=exampleTiddler>
<$set name=currentGroup value=<<group>>>

; <<currentGroup>>
: <code><<items>></code>
: @@color:red; Where are the entries?@@

<$list filter=<<items>>/>

</$set>
</$list>
</$set>
\end

<<list-each>>

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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

Reply via email to