$if Max = undefined then
$let Max = defined
FUNCTION Max (num1, num2)
Max = ((num1 > num2) * -num1) + ((num2 >= num1) * -num2)
END FUNCTION
$end if