Reports the sum of the items in the list.
show sum [energy] of turtles ;; prints the total of the variable "energy" ;; from all the turtles
Take me to the full NetLogo Dictionary