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