Reports the maximum number value in the list. It ignores other types of items.
show max [xcor] of turtles ;; prints the x coordinate of the turtle which is ;; farthest right in the world show max list a b ;; prints the larger of the two variables a and b show max (list a b c) ;; prints the largest of the three variables a, b, and c
Take me to the full NetLogo Dictionary