max value on list

florent colautti's icon

hi

a quick question...
I search an object whose send out the highest value from a list, my list length is variable.
I have try with Lobject (Lmax and Lhigh, but output a list and need to filter 0 values) , i just need one value, the highest...

If one object do this
thanks
O-O

David Butler's icon
Max Patch
Copy patch and select New From Clipboard in Max.

Try this (might be a simpler way though)

David Butler's icon

@nicolas danet

Of course, I forget maximum also handles lists...