From d41e58e6cd71fdacdca69ba78c29d42dc7d330d5 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Wed, 20 Nov 2002 17:46:33 +0000 Subject: This commit was generated by cvs2svn to compensate for changes in r224, which included commits to RCS files with non-trunk default branches. svn path=/trunk/externals/maxlib/; revision=225 --- help/help-match.pd | 68 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100644 help/help-match.pd (limited to 'help/help-match.pd') diff --git a/help/help-match.pd b/help/help-match.pd new file mode 100644 index 0000000..8d2fbd7 --- /dev/null +++ b/help/help-match.pd @@ -0,0 +1,68 @@ +#N canvas 90 142 874 407 12; +#X obj 50 350 bng 24 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +-1; +#X msg 148 212 reset; +#X obj 50 95 random 5; +#X msg 50 5 0; +#X msg 65 32 1; +#X obj 50 65 metro 100; +#X text 203 212 reset internal data storage; +#X text 182 26 input values matches the creation; +#X text 183 42 arguments; +#X text 185 82 this can be changed in the sources !; +#X text 83 351 <-- 'bang' when input matches arguments; +#X obj 62 122 hdl 20 1 0 5 empty empty empty 0 -6 0 8 -262144 -1 -1 +0; +#X floatatom 50 154 5 0 0; +#X text 228 229 -> forget all old values; +#X obj 50 243 match 3 4; +#X floatatom 81 325 5 0 0; +#X floatatom 156 324 5 0 0; +#X obj 81 294 unpack f f; +#X text 111 11 match :: outputs a list when a list of; +#X msg 93 178 1 3 4 7; +#X msg 160 178 1 2 4 5; +#X text 230 179 send a list of floats; +#X symbolatom 688 312 10 0 0; +#X symbolatom 616 336 10 0 0; +#X symbolatom 581 356 10 0 0; +#X obj 540 349 bng 24 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +-1; +#X obj 540 244 match dog bytes 2 cats; +#X msg 553 186 dog bytes 2 cats; +#X msg 564 214 cat bytes 2 dogs; +#X text 384 114 same works for symbols and mixtures of floats and symbols: +; +#X obj 581 285 unpack s s f s; +#X floatatom 635 313 5 0 0; +#X text 89 271 sends out the list when a match is found; +#X msg 459 151 dog; +#X msg 494 143 cats; +#X msg 519 170 2; +#X msg 471 195 bytes; +#X text 183 68 a maximum of 16 arguments is allowed; +#X connect 1 0 14 0; +#X connect 2 0 12 0; +#X connect 3 0 5 0; +#X connect 4 0 5 0; +#X connect 5 0 2 0; +#X connect 11 0 12 0; +#X connect 12 0 14 0; +#X connect 14 0 0 0; +#X connect 14 0 17 0; +#X connect 17 0 15 0; +#X connect 17 1 16 0; +#X connect 19 0 14 0; +#X connect 20 0 14 0; +#X connect 26 0 25 0; +#X connect 26 0 30 0; +#X connect 27 0 26 0; +#X connect 28 0 26 0; +#X connect 30 0 24 0; +#X connect 30 1 23 0; +#X connect 30 2 31 0; +#X connect 30 3 22 0; +#X connect 33 0 26 0; +#X connect 34 0 26 0; +#X connect 35 0 26 0; +#X connect 36 0 26 0; -- cgit v1.2.1