S S

What are you trying to do?

~[enlist{!!list}] is correct

Lets convert to plane language
filter="[enlist<check-list>] -[enlist{!!list}] ~[enlist{!!list}] -[enlist
<check-list>]

List each item in check-list, removing those that are in !!list, *If and 
only if the resulting list is now empty* (because they match), list the 
items in !!list, and remove those in check-list, so the result must be 
empty (because we are only here because *If and only if the first resulting 
list is empty* 

Regards
Tony


On Tuesday, February 26, 2019 at 11:23:19 AM UTC+11, S. S. wrote:
>
> Tony,
>
> Trying out Mark's suggestion, I can't understand why this fails :
>
> {{!!list}} = [[C A]] [[A C]] [[B B]] y
> <$set name="check-list" filter="[[C A]] [[B B]] [[A C]] x">
>    <$list filter="[enlist<check-list>] -[enlist{!!list}] 
> ~[enlist{!!list}] -[enlist<check-list>]" emptyMessage="MATCH">
>       NO MATCH
>    </$list>
> </$set>
>
> I haven't needed to use the ELSE run prefix ~ before so I tried both ways 
> (extra ~[[ brackets ]] around the ~ prefix, and both ways failed:
>
> <$set name="check-list" filter="[[C A]] [[B B]] [[A C]] x">
>    <$list filter="[enlist<check-list>] -[enlist{!!list}] 
> ~[[enlist{!!list}] -[enlist<check-list>]]" emptyMessage="MATCH">
>       NO MATCH
>    </$list>
> </$set>
>
> Confused.
>
>

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/1c3005c5-7ff4-4038-9d0d-34ad3a654d55%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to