Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

maximum: return the maximum value of all array items

Code Block
set max [objarray maximum <obj> ?-index?]

Return the maximum value of all array items

<obj> the objarray to get its maximum value

if -index is specified, then instead the maximum value it return the index (starting from 0) of this value.