1
#N canvas 60 24 894 515 10;
3
#X text 112 33 get the nth element of a package;
4
#X floatatom 105 219 0 0 0 0 n - -;
5
#X obj 62 239 packel 3;
6
#X obj 62 268 print ELEMENT;
7
#X obj 62 377 packel -2;
8
#X obj 62 401 print REVERSE_ELEMENT;
9
#X text 146 75 creation: packel [<n>];
10
#X text 185 92 n indicates the index of the element to be output;
11
#X text 185 110 n==0 ouputs the whole package;
12
#X text 185 127 n<0 ouputs the nth-last element;
13
#X text 511 26 part of zexy;
14
#X msg 62 191 list uno dva drei quattre five;
15
#X msg 62 357 list uno dva drei quattre five;
16
#X obj 480 302 print E1;
17
#X obj 541 302 print E2;
18
#X floatatom 510 249 4 -5 5 0 n1 - -;
19
#X obj 480 273 packel 3 -1;
20
#X floatatom 541 250 4 -5 5 1 n2 - -;
21
#X text 480 199 you can also query several elements at once;
22
#X msg 480 225 list uno dva drei quattre five;
23
#X text 63 336 reading from the end of the list;