Turtle, Observer, Patch |
ask-list-of-turtles [list of turtle who numbers] [list of commands]
List | A list of turtle who numbers to ask | |
List of turtle commands | A list of commands to ask these turtles to run |
Asking a list of turtles to do something is a moderately expensive operation since StarLogo creates a thread for each turtle. Try to group commands that you would have put into separate ask-list-of-turtles
ask-list-of-turtles [4 6 10 14] [fd 1]