$iif » History » Version 1
Per Amundsen, 08/17/2015 01:15 PM
1 | 1 | Per Amundsen | _Added in 1.9.0_ |
---|---|---|---|
2 | |||
3 | *$iif(C,T,F)* |
||
4 | |||
5 | Returns T or F depending on whether the evaluation of the Conditional C is true or false. |
||
6 | |||
7 | _See also [[/if]]._ |
||
8 | |||
9 | *Example* |
||
10 | |||
11 | <pre> |
||
12 | ; Print 'yes' or 'no' depending if 1 equals 2. |
||
13 | //echo -ag $iif(1 == 2, yes, no) |
||
14 | </pre> |