The angle braces REPLACE the square brackets in filter expressions. So your 
code should look like:

\define testme(parameter)
  <$list filter="[tag<__parameter__>]">
  <$link to=<<currentTiddler>>/><br>
  </$list>
\end



On Wednesday, November 25, 2020 at 11:48:56 AM UTC-8 soren.b...@gmail.com 
wrote:

> On Wednesday, November 25, 2020 at 1:09:22 PM UTC-6 Mark S. wrote:
>
>> Inside a filter, a variable could be referenced as tag[$art$] or as 
>> tag<__art__> .
>>
>
> Really? Did that work for you? I thought parameters-as-variables only work 
> in a strict transclusion context with double angle brackets. In a simple 
> test it yields a syntax error:
>
> \define testme(parameter)
>   <$list filter="[tag<__parameter__>]]">
>   <$link to=<<currentTiddler>>/><br>
>   </$list>
> \end
>
> <<testme Section>>
>

-- 
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/6893ceb9-7f39-4978-9e9a-062fe6bdb875n%40googlegroups.com.

Reply via email to