From bb262906bb6e21d5ba7ccac6e549adb3cf476f1b Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Sat, 4 Feb 2006 02:08:41 +0000 Subject: implemented [test_n] to replace [one_n] and [null_n]. It also handles symbols svn path=/trunk/externals/mapping/; revision=4549 --- help/test_n-help.pd | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 help/test_n-help.pd (limited to 'help') diff --git a/help/test_n-help.pd b/help/test_n-help.pd new file mode 100644 index 0000000..fb1e948 --- /dev/null +++ b/help/test_n-help.pd @@ -0,0 +1,26 @@ +#N canvas 354 263 441 356 10; +#X floatatom 222 280 5 0 0 0 - - -; +#X floatatom 150 329 5 0 0 0 - - -; +#X msg 150 245 0; +#X msg 181 245 1; +#X text 268 277 size: n; +#X text 19 25 sends a 1 if the last n values are equal to the first +argument; +#X floatatom 137 194 5 0 0 0 - - -; +#X msg 137 110 word; +#X msg 175 110 not-word; +#X msg 120 245 2; +#X text 13 72 click [word( five times in a row and you will get a 1 +(5 is the default for how many \, aka "n"); +#X text 25 220 click [2( three times in a row and you will get a 1 +; +#X obj 137 168 test_n word; +#X obj 150 303 test_n 2 3; +#X connect 0 0 13 2; +#X connect 2 0 13 0; +#X connect 3 0 13 0; +#X connect 7 0 12 0; +#X connect 8 0 12 0; +#X connect 9 0 13 0; +#X connect 12 0 6 0; +#X connect 13 0 1 0; -- cgit v1.2.1