FANDOM


Syntax

AND object1 object2

(AND object1 object2 object3 . . .)

(AND object)

Explanation

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

Examples

? AND "TRUE "TRUE

Result: TRUE

? AND "TRUE "FALSE

Result: FALSE

? (AND "TRUE "FALSE "TRUE)

Result: FALSE

?

AND can be used in conjuction with IF. . .THEN statements:

? IF AND (3=3) (2=2) THEN PRINT "YES

YES

?

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.