The OR conditional operator evaluates an expression to true (-1) if any of the arguments is also true.
IF expression1 OR expression2 THEN {code}
Relational Operators:
a% = 100 b% = 50 IF (a% > b% AND a% < 100) OR b% = 50 THEN PRINT "True"
True
Explanation: The first evaluation was False, but the OR evaluation made the statement true and the code was executed.
There was an error while loading. Please reload this page.
Navigation