Turtle and Observer Command

dolist [:variable [list]] [f(:variable)]

Repeats the command function f(:variable) for variable equaling each of the elements in [list].

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

Examples:
dolist [:j [1 2 5]] [print :j] will print the numbers 1, 2, and 5.


Related commands: