Macro Scheduler 15

Conditional Functions

function If(Condition: Boolean, TrueResult, FalseResult): ResultType

Condition is a Boolean expression. When the function is evaluated, it returns TrueResult if Condition else FalseResult. TrueResult and FalseResult need not be of the same type and result type of the IF expression may change depending on Condition.