Re: [PD] Finding the highest number

2009-12-26 Thread Alexey Reshetnikov
Hi, Andrew, I would do it this way: #N canvas 441 374 450 300 10; #X floatatom 140 3 5 0 0 0 - - -; #X obj 140 81 moses; #X floatatom 209 84 5 0 0 0 - - -; #X obj 172 27 sel; #X msg 172 54 0; #X connect 0 0 1 0; #X connect 0 0 3 0; #X connect 1 1 2 0; #X connect 2 0 1 1; #X connect 3 0 4 0; #X

[PD] Finding the highest number

2009-12-23 Thread Andrew Faraday
Hey All I'm looking for a way to find the highest figure in a stream of input. In this case to find the top score in a little game I'm working on. I need a system that will remain on the highest number inputted until it's increased or reset to 0. It should be simple but I'm struggling, any

Re: [PD] Finding the highest number

2009-12-23 Thread cyrille henry
i think there is an object named local_max or max_local in mapping or pure_mapping that is doing what you describe. c Andrew Faraday a écrit : Hey All I'm looking for a way to find the highest figure in a stream of input. In this case to find the top score in a little game I'm working on. I

Re: [PD] Finding the highest number

2009-12-23 Thread Jack
Look at the patch. ++ Jack Le mercredi 23 décembre 2009 à 13:09 +, Andrew Faraday a écrit : Hey All I'm looking for a way to find the highest figure in a stream of input. In this case to find the top score in a little game I'm working on. I need a system that will remain on the