Project

General

Profile

Actions

$iif » History » Revision 1

Revision 1/2 | Next »
Per Amundsen, 08/17/2015 01:15 PM


Added in 1.9.0

$iif(C,T,F)

Returns T or F depending on whether the evaluation of the Conditional C is true or false.

See also /if.

Example

; Print 'yes' or 'no' depending if 1 equals 2.
//echo -ag $iif(1 == 2, yes, no)

Updated by Per Amundsen over 9 years ago · 1 revisions

Also available in: PDF HTML TXT