Project

General

Profile

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 about 2 years ago · 1 revisions

Also available in: PDF HTML TXT