what about using [max] and [min]?

see attached patch

James

Quoth Sebastian Valenzuela, on 06/11/2012 21:03:
I imagine this isn't very difficult to do, but i haven't been able to find it anywhere. I have controller data constantly begin written (and updated) into an array - What is the easiest way to extract the highest and lowest numbers from this array as these two variables change?

I'm not looking for something that will constantly be giving me the value of those variables, but, for example, something that gives me the highest value once, and updates that number when it finds a new highest value.

Thank you pd-list!
-Sebastian  



_______________________________________________
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list