TELL number or list
TELL activates the turtles that respond to turtle commands. A single number as an argument to TELL activates that single turtle. A list of numbers activates all the turtles named in the list. Use TELLALL to activate a range of turtles.
Before turtles can be activated, they must be defined by the SETTURTLES command. The default number of turtles available when Logo starts is 16. (turtle 0 through turtle 15)
After startup or after execution of a SETTURTLES command, turtle 0 becomes the active turtle.
- TELL [0 1 2 3 4 5 6 7]
- PENDOWN ST
- EACH [SETH 45 * WHO SETPC WHO FD 30]
This procedure causes eight turtles to change theirs color to the same value as their turtle number. They then move apart in different directions.