User Tools

Site Tools


syntax:functions:if

This is an old revision of the document!


If(condition, expression1, expression2)

Returns the result of expression1 if condition is true. Otherwise returns the 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.1465359292.txt.gz · Last modified: 2016/06/08 00:14 by dmitry

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki