ifelse true-or-false instruction-list1 instruction-list2
Runs the first instruction list if the condition is true. Runs the second instruction list if the condition is false. See if.
example
ifelse colorunder = 15 [fd 50] [ bk 50]
ifelse xcor > 0 [14] [104]
See MW Vocabulary (in Resources) for links to other projects using this term.
© LCSI, reprinted with permission