#N canvas 0 0 551 466 12;
#X obj 140 189 print x1;
#X obj 200 189 print x2;
#X obj 260 189 print x3;
#X obj 324 189 print x4;
#X obj 140 161 route 23 54 1;
#X msg 140 131 234 345 456;
#X msg 236 131 23 34 45;
#X msg 318 131 54 43;
#X msg 372 131 1 foo bar;
#X msg 195 223 impeach ringo starr;
#X obj 146 251 route big apple;
#X msg 325 223 apple pie;
#X msg 146 223 1 2 3;
#X msg 392 223 big apple pie;
#X text 37 14 route -- route messages according to their first element;
#X msg 444 131 walk the dog;
#X text 37 34 Route checks the first element of a message against each of its arguments \, which may be numbers or symbols (but not a mixture of the two.);
#X text 37 73 If a match is found \, the rest of the message appears on the corresponding outlet. If no match \, the message is repeated to the last "rejection" outlet. The number of outlets is the number of arguments plus one.;
#X text 23 160 numeric arguments:;
#X text 22 251 symbolic arguments:;
#X obj 165 423 print z1;
#X obj 220 423 print z2;
#X msg 139 358 bang;
#X msg 175 358 list;
#X msg 208 358 5;
#X msg 237 358 float 5;
#X msg 290 358 list 5;
#X msg 340 358 symbol pie;
#X msg 469 358 pie;
#X msg 410 358 list pie;
#X msg 98 358 1 2 3;
#X obj 165 395 route list float symbol bang;
#X obj 274 423 print z3;
#X obj 329 423 print z4;
#X obj 386 423 print z5;
#X obj 146 281 print y1;
#X obj 206 281 print y2;
#X obj 266 281 print y3;
#X text 78 307 To avoid confusion between \, say \, the number 5 and the list contining only the number 5 \, both messages match "float" \, and ditto for symbols. An empty list matches "bang". In Pd these are all considered special cases of lists.;
#X text 371 451 updated for Pd version 0.31.;
#X connect 4 0 0 0;
#X connect 4 1 1 0;
#X connect 4 2 2 0;
#X connect 4 3 3 0;
#X connect 5 0 4 0;
#X connect 6 0 4 0;
#X connect 7 0 4 0;
#X connect 8 0 4 0;
#X connect 9 0 10 0;
#X connect 10 0 35 0;
#X connect 10 1 36 0;
#X connect 10 2 37 0;
#X connect 11 0 10 0;
#X connect 12 0 10 0;
#X connect 13 0 10 0;
#X connect 15 0 4 0;
#X connect 22 0 31 0;
#X connect 23 0 31 0;
#X connect 24 0 31 0;
#X connect 25 0 31 0;
#X connect 26 0 31 0;
#X connect 27 0 31 0;
#X connect 28 0 31 0;
#X connect 29 0 31 0;
#X connect 30 0 31 0;
#X connect 31 0 20 0;
#X connect 31 1 21 0;
#X connect 31 2 32 0;
#X connect 31 3 33 0;
#X connect 31 4 34 0;
