aboutsummaryrefslogtreecommitdiff
path: root/help/test_n-help.pd
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-02-04 02:08:41 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-02-04 02:08:41 +0000
commitbb262906bb6e21d5ba7ccac6e549adb3cf476f1b (patch)
treefcef368b483b711ad23802028d29a785bd05fc0f /help/test_n-help.pd
parent1c27ea426cabcda7e2ebc5f62839eb792bef64ab (diff)
implemented [test_n] to replace [one_n] and [null_n]. It also handles symbols
svn path=/trunk/externals/mapping/; revision=4549
Diffstat (limited to 'help/test_n-help.pd')
-rw-r--r--help/test_n-help.pd26
1 files changed, 26 insertions, 0 deletions
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;