On Sunday, September 28, 2014 1:10:17 AM UTC-7, Mark Brown wrote: > > The list[] filter operator allows me to obtain a set of tiddlers from a > field. For example: > <$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$]]"> > Since you are passing in a literal list of tiddlers, you don't need to use the [list[...]] operator in the filter. Just embed the list as is, like this: \define myListMacro(myList:"") <$list filter="$myList$"> enjoy, -e Eric Shulman TiddlyTools / ELS Design Studios YOUR DONATIONS ARE VERY IMPORTANT! HELP ME TO HELP YOU - MAKE A CONTRIBUTION TO MY "TIP JAR"... http://TiddlyTools.github.com/fundraising.html#MakeADonation Professional TiddlyWiki Consulting Services... Analysis, Design, and Custom Solutions: http://www.TiddlyTools.com/#Contact -- 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.

