IfThenElse (open)
Ternary operator that doesn't require both output values to have the same type
Syntax
// Core function, no LOADLIB necessary
VARIANT FUNCTION IfThenElse(BOOLEAN condition, VARIANT iftrue, VARIANT iffalse)Parameters
BOOLEAN conditionVARIANT iftrueVARIANT iffalseReturn value
VARIANT