FALSE is a predefined constant to be used in boolean expressions.
FALSE
FALSE is a predefined constant that can be used as a boolean value in boolean expressions.
The FALSE constant is equal to 0 (zero).
TRUE and FALSE are typically used as return values of functions that give a binary result.
MAIN
DEFINE odd BOOLEAN
LET odd = is_odd(125763)
IF odd THEN
DISPLAY "Number is odd."
END IF
END MAIN
FUNCTION is_odd(value)
DEFINE value INTEGER
IF value MOD 2 = 1 THEN
RETURN TRUE
ELSE
RETURN FALSE
END IF
END FUNCTION