Activities/Turtle Art: Difference between revisions
| Line 239: | Line 239: | ||
These blocks control program flow. | These blocks control program flow. | ||
* wait: pause program execution (unit is seconds) | |||
* forever: continuously repeat execute stack under the right flow | |||
* repeat: repeat the execution of stack under the right flow a specified number of times | |||
* if/then: conditional execution of the stack under the right flow (uses boolean operators found on the Number palette) | |||
* if/then/else: conditional execution of the stack under the center and right flows (uses boolean operators found on the Number palette) | |||
* while: execute stack under right flow ''while'' the condition is true (uses boolean operators found on the Number palette) | |||
* until: execute stack under right flow ''until'' the condition is true (uses boolean operators found on the Number palette) | |||
* horizontal spacer | |||
* vertical spacer | |||
* stop stack: interrupt execution | |||
[[Image:TAblocks.png]] | [[Image:TAblocks.png]] | ||