Turtle and Observer Command

sum-of-patches ilist

Reports the total of evaluating ilist in every patch and adding it up. Example: show sum-of-patches [food] This gives the total amount of food in the world.

Related commands: