NetLogo Help: or

### or1.0

#### boolean1 or boolean2

Reports true if boolean1 is true, boolean2 is true, or both are true. Otherwise returns false if both booleans are false.

Note that if boolean1 is true, then boolean2 will not be run (since it can't affect the result).

    if (pxcor > 0) or (pycor > 0) [ set pcolor red ]
    ;; patches turn red except in lower-left quadrant

Take me to the full NetLogo Dictionary