From the Eliovir

Pm Wiki: Cond Expr

CondExpr…

is an expression parser. You use it via the “expr” markup, thusly:

   (:if expr equal {$var1} {$var2} xor equal {$var3} {$var4}) 

   (:if expr ! equal 'carrot' {$var4}) 

Operations available are:

I think you can also use parenthetical expressions like

(: if expr ({$bool1} or {$bool2}) and ({$bool3} or {$bool4}) :)

Usage examples here: Cookbook:JJSApprovePage

Copyright © 2005–2025 the Main wiki and its authors

Retrieved from http://eliovir.free.fr/index.php5/PmWiki/CondExpr

Page last modified on June 10, 2008, at 10:05 AM EST