aboutsummaryrefslogtreecommitdiff
path: root/test_n-help.pd
diff options
context:
space:
mode:
Diffstat (limited to 'test_n-help.pd')
-rw-r--r--test_n-help.pd28
1 files changed, 28 insertions, 0 deletions
diff --git a/test_n-help.pd b/test_n-help.pd
new file mode 100644
index 0000000..c2cea65
--- /dev/null
+++ b/test_n-help.pd
@@ -0,0 +1,28 @@
+#N canvas 354 263 467 373 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 obj 5 2 cnv 15 450 20 empty empty test_n 2 11 1 18 -233017 -66577
+0;
+#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;