aboutsummaryrefslogtreecommitdiff
path: root/examples/packel.pd
blob: b7f2b5637185982bc6581cae76a25834ef388987 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#N canvas 169 380 720 387 10;
#X obj 48 34 packel;
#X text 112 33 get the nth element of a package;
#X msg 62 161 uno dva drei quattre five;
#X floatatom 105 219;
#X obj 62 239 packel 3;
#X obj 62 268 print ELEMENT;
#X msg 62 307 uno dva drei quattre five;
#X obj 62 327 packel -2;
#X obj 62 351 print REVERSE_ELEMENT;
#X text 275 210 creation: packel [<n>];
#X text 140 220 n;
#X text 314 227 n indicates the index of the element to be output;
#X text 314 245 n==0 ouputs the whole package;
#X text 314 262 n<0 ouputs the nth-last element;
#X connect 2 0 4 0;
#X connect 3 0 4 1;
#X connect 4 0 5 0;
#X connect 6 0 7 0;
#X connect 7 0 8 0;