1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
|
#N canvas 14 4 634 499 12;
#X msg 88 13 message boxes;
#X text 55 36 Message boxes hold one or more message. Anytime the message box receives any message at all \, the messages in the box are all sent to their destinations.;
#X obj 178 301 print;
#X msg 178 241 60 64;
#X msg 178 271 pitch \$1 \, velocity \$2;
#X msg 49 378 123 \; my-receiver-name 858 \; another-receiver -45;
#X text 55 84 Clicking on a message also sends it \, so you can use messsage boxes for push buttins. For instance \, click here while watching the printout window:;
#X msg 164 141 walk the dog;
#X obj 164 170 print;
#X text 263 141 <--- message;
#X text 265 167 <--- object (different border);
#X text 48 205 You can separate multiple messages by commas. Also \, you can use "$1" \, "$2" \, etc. to make variable messages:;
#X text 46 321 Finally \, if you separate messages by a semicolon instead of a comma \, the following message(s) are re-routed to named objects such as "receives":;
#X obj 49 433 print;
#X obj 229 380 receive my-receiver-name;
#X floatatom 229 404;
#X floatatom 228 451;
#X obj 228 427 receive another-receiver;
#X msg 499 340 dog bird monkey \; monkey \;;
#X msg 499 220 set dog;
#X msg 507 243 set cat;
#X text 502 181 this is;
#X text 500 195 arcane:;
#X msg 516 294 add monkey;
#X msg 521 318 add2 bird;
#X msg 513 268 set;
#X text 400 472 updated for Pd version 0.3;
#X connect 3 0 4 0;
#X connect 4 0 2 0;
#X connect 5 0 13 0;
#X connect 7 0 8 0;
#X connect 14 0 15 0;
#X connect 17 0 16 0;
#X connect 19 0 18 0;
#X connect 20 0 18 0;
#X connect 23 0 18 0;
#X connect 24 0 18 0;
#X connect 25 0 18 0;
|