Hi Joe
> Then a filter that finds A is "[tag[A]]"
>
> B OR C is "[tag[B]] [tag[C]]"
>
> A AND B is "[tag[A]tag[B]]"
>
> A and (B or C) has to be rewritten as
> (A and B) or (A and C) and is
>
> "[tag[A]tag[B]] [tag[A]tag[C]]”
You can directly do A and (B or C) as:
[tag[B]] [tab[C]] +[tag[A]
I'm a tad confused about how to add images to the TW - what I'm doing is
making a TW by programmatically (outside the TW and in another programming
language :-) creating all the necessary tiddlers.
(I'm using the node TW implementation)
I have discovered by trial and error and the help of Mr Goo
I'm trying to understand filters by comparing them to boolean logic.
Given three tags A B and C
Then a filter that finds A is "[tag[A]]"
B OR C is "[tag[B]] [tag[C]]"
A AND B is "[tag[A]tag[B]]"
A and (B or C) has to be rewritten as
(A and B) or (A and C) and is
"[tag[A]tag[B]] [tag[A]tag[C