Repeat Command
From GeoGebra Manual
Revision as of 14:49, 10 August 2015 by Markus.winkler (talk | contribs)
- Repeat[ <Number>, <Scripting Command>, <Scripting Command>, ... ]
- Repeats the execution of scripting commands n times, where n is the given Number.
- Example:
Turtle[]
.- Click the "Play" button displayed at bottom left.
Repeat[8, TurtleForward[turtle1, 1], TurtleRight[ turtle1, 45° ]]
- The turtle moves and draws a regular octagon.