#N canvas 0 0 630 421 12;
#X msg 40 212 bang;
#X obj 40 287 random 5;
#X floatatom 83 261 0 0 0;
#X floatatom 40 312 0 0 0;
#X msg 50 236 seed 123;
#X text 92 210 bang for output;
#X text 132 236 message to set the seed;
#X text 116 259 inlet to reset the range;
#X text 119 286 argument to initialize the range;
#X text 378 337 updated for Pd version 0.33;
#X text 11 46 Random outputs pseudo random integers from 0 to N-1 where N is the creation argument (5 in the example below.) You can specify a seed if you wish. Seeds are kept locally so that if two Randoms are seeded the same they will have the same output (or indeed you can seed the same one twice to repeat the output.);
#X text 12 139 On the other hand \, if you don't supply a seed each instance of random gets its own seed. WARNING: nothing is known about the quality of the pseudo random number generator. It isn't any standard one!;
#X obj 20 11 random;
#X text 84 11 - pseudo random integers;
#X connect 0 0 1 0;
#X connect 1 0 3 0;
#X connect 2 0 1 1;
#X connect 4 0 1 0;
