Ternary Functions


a = iif(x > y ? true : false)

This function performs a conditional test then returns the "true" or "false" value depending on the conditional expression. The result that is not selected is skipped (so divide by zero and other errors will not occur).


a$ = iif$(x > y ? "Hello" : "Bye")

This function works exactly the same as the function above but is used to return string values.







Become a Patron