TELLALL number number
TELLALL activates a range of turtles to respond to turtle commands. TELLALL takes two numbers as arguments. The first number is the number of the first turtle in the range to be activated. The second number is the last turtle in the range to be activated. Use TELL to activate a single turtle or a list 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.
- TELLALL 0 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.? MANY.HEADINGS