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 connect 4 0 1 1;
#X connect 4 0 2 0;

The simplest method I've found yet :)

В Срд, 23/12/2009 в 13:09 +0000, 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 suggestions?
> 
> 
> Andrew
> 
> 
> ______________________________________________________________________
> Have more than one Hotmail account? Link them together to easily
> access both.
> _______________________________________________
> [email protected] mailing list
> UNSUBSCRIBE and account-management -> 
> http://lists.puredata.info/listinfo/pd-list
-- 
Alexey Reshetnikov, Izhevsk, Russia


_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to