Hi all, 

Looking for some some advice: 


The list[] filter operator allows me to obtain a set of tiddlers from a 
field. For example: 

If myTiddler!!myField = "tiddlerA tiddlerB tiddlerC" 

then

<$list filter="[list[myTiddler!!myField]]">

gives me back "tiddlerA tiddlerB tiddlerC". This is a fantastic feature. 


But, if the list is in an input to a macro, for example: 

<<myListMacro "tiddlerA tiddlerB tiddlerC">>

how might I get the list[] operator to parse that variable? 


The following does NOT work

\define myListMacro(myList:"") <$list filter="[list[$myList$]]">

 

It seems like the list[] forces you to use indirection (i.e., point to a 
field that has a space-separated list) whereas in some cases you may just 
want to supply that list more directly.

Know of any workarounds?

Or how could I change the list operator to achieve this? 

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