Genius Manual | ||
---|---|---|
<<< Previous | Next >>> |
Syntax:
if <expression1> then <expression2> [else <expression3>] |
false
or 0, NULL is returned.
Examples:
if(a==5)then(a=a-1) if b<a then b=a if c>0 then c=c-1 else c=0 a = ( if b>0 then b else 1 ) |
if a=5 then a=a-1 |
if a==5 then a:=a-1 |
<<< Previous | Home | Next >>> |
List of GEL Operators | Loops |