aboutsummaryrefslogtreecommitdiff
path: root/examples/lister.pd
blob: d6f3e453ffbd5992722852f53307806e920e996f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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;