| setinstruction word-or-instruction-list |
| Sets the instruction for the current turtle. This is equivalent to typing the instructions in the turtle's dialog box. If the list includes the word forever or launch, the instruction's mode is set to Many Times or Once accordingly. If these words are not included, the mode is unchanged. If the turtle is running an instruction when setinstruction is used, the turtle will click off. See set and get. |
| example |
| setinstruction [forever [fd 1]] setinstruction [rt 90] setinstruction "clean |
| See MW Vocabulary (in Resources) for links to other projects using this term. |
| © LCSI, reprinted with permission |