Turtle and Observer Command

sum-of-turtles [list of commands]

Reports the sum of [list of commands] for every turtle.

Note: When a turtle calls the command, it is not included as part of the calculation.

Examples:
show sum-of-turtles [weight * weight] gives the sum of every turtle's weight squared.

Related commands: sum-of-turtles-with