Logical OR means

A.OR.B  then
 true if ONLY one is true, so both true returns true
 false if only and only both are false

so

<$list filter="[[A]] [[B]] +[limit[1]]>
...
</$list>


works!


   - if none are exist then nothing returned
   - if both exist one is returned
   - if only A or B exist then one is returned


See Jed Carty logical operation

https://kookma.github.io/TW-Scripts/#Logical%20Opertaion%20with%20Filters

--Mohammad





On Friday, January 24, 2020 at 12:40:16 PM UTC+3:30, HC Haase wrote:
>
> I am trying to make a $list with a filter that returns either expressionA 
> OR expressionB
>
> is this possible?
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/677d33e3-297d-4536-b4a9-cf6875f930e0%40googlegroups.com.

Reply via email to