OR

Syntax

OR object1 object2

(OR object1 object2 object3 . . .)

(OR object1)

Explanation

OR outputs FALSE if all of its inputs are false; otherwise, it outputs TRUE. OR accepts one or more inputs which must be either TRUE or FALSE.

Examples

? OR "TRUE "TRUE

Result: TRUE

? OR "TRUE "FALSE

Result: TRUE

? OR "FALSE "FALSE

Result: FALSE

? (OR "FALSE "TRUE "FALSE)

Result: TRUE

? IF OR (2=3) (3=3) PRINT "YES

YES

?