#N canvas 592 186 512 377 12;
#X text 47 336 see also:;
#X obj 160 336 makenote;
#X msg 49 160 60 64;
#X msg 100 160 60 0;
#X msg 144 160 62 64;
#X msg 197 160 62 0;
#X obj 144 277 print;
#X text 189 278 Output is in the printout window.;
#X msg 206 207 clear;
#X obj 77 18 bag;
#X text 112 17 - COLLECTION OF NUMBERS;
#X text 35 47 The bag object takes (value \, flag) pairs. If the flag
is true (nonzero) \, the value is added to the collection \; if false
\, it's removed. The collection may have many copies of the same value.
You can output the collection (and empty it) with a "flush" message
\, or just empty it with "clear." You can use this to mimic a sustain
pedal \, for example.;
#X msg 201 183 flush;
#X obj 116 336 poly;
#X obj 144 247 bag;
#X text 289 333 updated for Pd version 0.33;
#X text 251 206 <= start over;
#X text 245 183 <= output them;
#X text 235 160 <= add or delete elements;
#X connect 2 0 14 0;
#X connect 3 0 14 0;
#X connect 4 0 14 0;
#X connect 5 0 14 0;
#X connect 8 0 14 0;
#X connect 12 0 14 0;
#X connect 14 0 6 0;
