objarray : maximum

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.