Iif

From the Scripting Manual
function iif(condition: boolean; const truePart: variant; const falsePart: variant): variant; Parameter Info: Condition (Boolean): TRUE or FALSE value. truePart (Variant): Variable which shall be returned if (Condition) is TRUE falsePart (Variant): Variable which shall be returned if (Condition) is FALSE Description: This function acts the same as a normal IF statement, however it may be used inline.