aboutsummaryrefslogtreecommitdiff
path: root/examples/lister.pd
diff options
context:
space:
mode:
Diffstat (limited to 'examples/lister.pd')
-rw-r--r--examples/lister.pd23
1 files changed, 23 insertions, 0 deletions
diff --git a/examples/lister.pd b/examples/lister.pd
new file mode 100644
index 0000000..d6f3e45
--- /dev/null
+++ b/examples/lister.pd
@@ -0,0 +1,23 @@
+#N canvas 83 390 771 524 10;
+#X obj 160 14 lister;
+#X text 210 15 - store a list;
+#X msg 41 151 bang;
+#X text 76 152 outputs a list;
+#X text 257 196 sets and outputs a list;
+#X text 307 239 sets a list;
+#X text 214 263 creation argument initializes a list;
+#X obj 41 303 print;
+#X text 129 362 alias;
+#X obj 169 362 l;
+#X text 64 53 similar to the "float" \, "int" \, "symbol" \, ... objects;
+#X msg 204 240 2 3 5 7 11 prime;
+#X obj 41 262 lister 1 2 3 4 5 6 7 ordinal;
+#X msg 62 197 1 1 2 3 5 8 13 21 44 fibonacchi;
+#X text 64 77 of course \, this is similar to the "pack" object \, but here we handle list-lenghts dynamically and do not care about type checking !!!;
+#X text 40 434 of course \, this should be named "list" \, but there already appears to be a "list" object \, though i don't see any use in it;
+#X obj 434 443 list 1 two trois;
+#X text 40 471 it seems to store 1 atom only;
+#X connect 2 0 12 0;
+#X connect 11 0 12 1;
+#X connect 12 0 7 0;
+#X connect 13 0 12 0;