Turtle and Observer Command

sum-of-turtles ilist

Reports the total of evaluating ilist in every turtle and adding it up. Example: show sum-of-turtles [weight * weight] This gives the sum of every turtle's weight squared.

Related commands: