#N canvas 583 23 561 515 10;
#X obj 2 290 cnv 3 550 3 empty empty inlets 8 12 0 13 #dcdcdc #000000 0;
#X obj 2 390 cnv 3 550 3 empty empty outlets 8 12 0 13 #dcdcdc #000000 0;
#X obj 2 447 cnv 3 550 3 empty empty arguments 8 12 0 13 #dcdcdc #000000 0;
#X obj 95 299 cnv 17 3 57 empty empty 0 5 9 0 16 #dcdcdc #9c9c9c 0;
#X obj 95 362 cnv 17 3 17 empty empty 1 5 9 0 16 #dcdcdc #9c9c9c 0;
#X obj 95 399 cnv 17 3 17 empty empty 0 5 9 0 16 #dcdcdc #9c9c9c 0;
#X obj 2 486 cnv 15 552 21 empty empty empty 20 12 0 14 #e0e0e0 #202020 0;
#X text 170 300 -;
#X text 136 300 bang;
#X text 130 319 float;
#X text 136 338 list;
#X text 130 363 float;
#X text 170 401 -;
#X text 130 401 float;
#X text 112 460 1) float;
#X obj 317 211 cyclone/maximum;
#X text 170 338 - maximum number in the list is output and updates argument;
#X obj 48 183 bng 17 250 50 0 empty empty empty 17 7 0 10 #dcdcdc #000000 #000000;
#X text 185 300 resends the most recent output, f 56;
#X obj 317 244 nbx 5 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10 #dcdcdc #000000 #000000 0 256;
#X text 308 134 find maximum in a list;
#X msg 317 157 10 5 7 2 19 8 6 4;
#X obj 85 247 nbx 5 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10 #dcdcdc #000000 #000000 0 256;
#X text 178 164 updates argument;
#X obj 85 183 nbx 5 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10 #dcdcdc #000000 #000000 0 256;
#X obj 190 183 nbx 5 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10 #dcdcdc #000000 #000000 0 256;
#X text 77 160 to argument;
#X text 171 319 - value to compare maximum with argument or right inlet, f 59;
#X text 170 363 - value to compare maximum with left inlet (updates argument), f 61;
#X obj 95 423 cnv 17 3 17 empty empty 1 5 9 0 16 #dcdcdc #9c9c9c 0;
#X text 130 424 float;
#X obj 85 215 cyclone/maximum 12;
#N canvas 891 233 475 319 list 0;
#X text 47 33 More about list:;
#X text 47 63 - Numbers in a list are compared with each other \, not with the argument!;
#X obj 146 227 cyclone/maximum 1000;
#X floatatom 95 183 5 0 0 0 - - - 0;
#X obj 146 259 nbx 5 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10 #dcdcdc #000000 #000000 0 256;
#X text 49 97 - The maximum number in a list is output in the left outlet \, its index (from 0) is output in the right outlet. The next maximum updates the argument.;
#X obj 263 258 nbx 2 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10 #dcdcdc #000000 #000000 0 256;
#X msg 146 160 9 32 89 10 20 48 79 2 95 43 92;
#X msg 163 192 22 12 78 64 -32 65 -230 45;
#X connect 2 0 4 0;
#X connect 2 1 6 0;
#X connect 3 0 2 0;
#X connect 7 0 2 0;
#X connect 8 0 2 0;
#X restore 482 222 pd list;
#X msg 339 184 -5 -9 -12 -1 -3;
#X text 172 460 - value to compare maximum with (default 0), f 60;
#X text 185 401 the maximum (greatest) value of two or more numbers;
#X obj 190 246 nbx 2 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10 #dcdcdc #000000 #000000 0 256;
#X text 72 144 compare float;
#X text 70 89 [maximum] outputs the maximum of two or more values in the left outlet. The right outlet outputs the index of the maximum.;
#X text 221 234 0: left;
#X text 221 247 1: right;
#X text 226 259 or arg;
#X obj 404 244 nbx 2 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10 #dcdcdc #000000 #000000 0 256;
#X text 321 262 maximum;
#X text 406 262 index in the list;
#X text 170 424 - the index of the maximum value, f 61;
#X obj 3 2 ./header maximum;
#X text 22 61 Compare maximum;
#X connect 15 0 19 0;
#X connect 15 1 42 0;
#X connect 17 0 31 0;
#X connect 21 0 15 0;
#X connect 24 0 31 0;
#X connect 25 0 31 1;
#X connect 31 0 22 0;
#X connect 31 1 36 0;
#X connect 33 0 15 0;
