This is great! Still we have not real branching with then-else but we have if NonEmpty return then part else return else part end
And we need a construct like you proposed! --Mohammad On Sunday, August 4, 2019 at 10:47:34 AM UTC+4:30, TonyM wrote: > > Mohammad > > This structure will return true only if the input is true, any other value > including empty will return false > > <$set name=input value="true"> > <$list filter="[<input>match[true]else[false]]" variable=returned> > > </$list> > <$set> > > Thus inside the list you can test > <$list filter="[<returned>match[true]]"> > > </$list> > <$list filter="[<returned>match[false]]"> > > </$list> > > Regards > Tony > > On Sunday, 4 August 2019 00:06:14 UTC+10, Mohammad wrote: >> >> While there were alot of request for simple conditional operations, it >> seems the new TW 5.1.20 has this great feature >> >> See >> >> - https://tiddlywiki.com/prerelease/#Conditional%20Operators >> >> I think this needs to be discussed and examples are needed for >> clrification! >> >> So, interested people, please give their use cases questions here! >> >> -Mohammad >> > -- 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/b93d7f54-4788-4ea9-bcba-aaebb63b9ddb%40googlegroups.com.

