I have come upon something I can't fix relaticve to comparing value. First, I tested my filter this way and all was OK:
\define target() 2 target=<<target>><br/> <$set name="qty" value=<<target>>> <<.operator-example 6 "[<qty>compare:number:gt[1]then[several]else[single]]">> <<.operator-example 7 "[<target>compare:number:gt[1]then[several]else[single]]">> <$set name="loc" filter="[<qty>compare:number:gt[1]then[several]else[single]]"> got <<qty>>: <<loc>><br/> </$set> </$set> "several" was answered in each case. All very fine. Then I translated it in my wiki for application. \define countTaggedBySelf() <$count filter="[all[current]tagging[]butfirst[]]"/> <$set name="qty" value=<<countTaggedBySelf>> > <$set name="loc" filter="[<qty>compare:number:gt[1]then[several]else[single]]"> got <<qty>>: <<loc>><br/> </$set></$set> Then I get "got 2: single" ??? (in a tiddler where the countTaggedBySelf has sense and returns 2.) But if I write instead <$set name="qty" value=2 > then again all is fine and I get "got 2: several" Where is my error? -- 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/76b883cb-2dad-4864-b4e6-6771f28fd9c3n%40googlegroups.com.

