User Tools

Site Tools


syntax:functions:if

This is an old revision of the document!


If(condition, expression1, expression2)

Returns result of expression1 if condition is true, otherwise returns result of expression2.

Example Result
if( 2 + 2 = 4, 'Makes sense', 'Nonsense' ) Makes sense
syntax/functions/if.1410921154.txt.gz · Last modified: 2014/09/16 22:32 by dmitry

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki