Turtle and Observer Command

dotimes [:variable integer] [f(:variable)]

Repeats the command function f(:variable) for variable equaling one through the integer.

Note: f(:variable) does not have to include the ":variable".

Examples:
dotimes [:j 5] [print :j] will print the numbers 1, 2, 3, 4, and 5.


Related commands: