Turtle and Observer Command

max-of-patches `[list of commands]`

Evaluates the [list of commands] given for every patch. Returns the coordinates of the patch whose [list of commands] value is greatest, or returns a list of coordinates if there is more than one patch with that minimum value."

Note: If `[list of commands]` contains no numbers, the smallest possible number is returned. If some of the `[list of commands]`, when evaluated, are not numbers, those values are ignored.

Examples:

`max-of-patches [food]` returns the coordinates of the patch whose food variable is the largest.

Related commands: