condition1
or
condition2
Parameters:
condition1 |
Boolean |
|
condition2 |
Boolean |
|
Description:
Reports true if either condition1 or condition2 reports true.
Examples:
if (color = black) or (color = red) [fd 2] makes all black or red turtles move forward 2 steps.
Related Commands:
and
not
xor