#N canvas 369 80 589 522 12;
#X obj 546 491 help;
#X msg 153 122 60 64;
#X msg 204 122 60 0;
#X msg 247 122 62 64;
#X msg 300 122 62 0;
#X obj 153 269 print;
#X msg 300 174 clear;
#X text 111 300 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 299 148 flush;
#X obj 153 239 bag;
#X obj 112 10 bag;
#X text 353 174 start over;
#X text 353 148 output them;
#X text 353 121 add or delete elements;
#X text 218 270 output is in the printout window.;
#N canvas 214 554 244 85 Related_Objects 0;
#X text 25 8 Native Pd Objects;
#X obj 93 43 makenote;
#X obj 46 43 poly;
#X obj 174 43 list;
#X restore 113 491 pd Related_Objects;
#X text 110 34 Collection of numbers;
#X obj 10 10 htab <object> bag <inlets> 0 float list "flush" "clear"
1 float <outlets> 0 float <arguments> (none) <updated> 0.41;
#X connect 1 0 9 0;
#X connect 2 0 9 0;
#X connect 3 0 9 0;
#X connect 4 0 9 0;
#X connect 6 0 9 0;
#X connect 8 0 9 0;
#X connect 9 0 5 0;
