#N canvas 100 520;
#X intatom 168 426 4;
#X msg 134 346 bang;
#X obj 134 401 int;
#X obj 168 401 + 1;
#X obj 315 261 + 1;
#X intatom 152 197 74;
#X intatom 108 242 74;
#X msg 108 196 bang;
#X obj 108 221 int;
#X intatom 146 108 4;
#X msg 112 58 bang;
#X obj 112 83 int;
#X obj 146 83 + 1;
#X text 30 133 The "int" box is a storage element holding one integer. The cold inlet (i.e. \, the one on the right) stores numbers \; sending the message "bang" to the hot inlet gets the number back out:;
#X text 31 21 Here's a simple counter. Click repeatedly on the "bang message to see it:;
#X text 32 265 The int's outlet above is connected via;
#X text 346 265 to its cold inlet.;
#X text 31 279 The incremented value is stored for the next "bang" to spit out.;
#X text 32 320 Here's a timed counter. Hit the "bang" to start it...;
#X obj 134 375 metro 500;
#X msg 180 346 stop;
#X text 205 375 <-- new object: metronome. The "500" means every 500 milliseconds --- i.e. \, twice a second.;
#X text 276 476 this file was last updated for release 0.10.;
#X connect 1 0 19 0;
#X connect 2 0 3 0;
#X connect 3 0 2 1;
#X connect 3 0 0 0;
#X connect 5 0 8 1;
#X connect 7 0 8 0;
#X connect 8 0 6 0;
#X connect 10 0 11 0;
#X connect 11 0 12 0;
#X connect 12 0 11 1;
#X connect 12 0 9 0;
#X connect 19 0 2 0;
#X connect 20 0 19 0;
#X connect 20 0 19 0;
