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
if( 2 + 1 = 4, 'Makes sense', 'Nonsense' ) Nonsense
syntax/functions/if.1427492706.txt.gz · Last modified: 2015/03/27 17:45 by elenap

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki