condition1
xor
condition2
Parameters:
condition1 |
Number |
first condition |
condition2 |
Number |
second condition |
Description:
Reports the value of condition1 xor
condition2
Examples:
(energy = 5) xor (size = 4)
returns true if the turtle's energy is 5 or if the turtles size is 4, but not if both are true or neither are true.
Related Commands:
and
not
or