#N canvas 0 31 646 432 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 461 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 380 302 print E1; #X obj 441 302 print E2; #X floatatom 410 249 4 -5 5 0 n1 - -; #X obj 380 273 packel 3 -1; #X floatatom 441 250 4 -5 5 1 n2 - -; #X text 380 199 you can also query several elements at once; #X msg 380 225 list uno dva drei quattre five; #X text 63 336 reading from the end of the list; #N canvas 293 85 494 344 META 0; #X text 12 125 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 105 AUTHOR IOhannes m zmoelnig; #X text 12 45 DESCRIPTION get the nth element of a package; #X text 12 65 INLET_0 list; #X text 12 5 KEYWORDS control list_op; #X text 12 85 OUTLET_0 symbol float pointer; #X restore 587 396 pd META; #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;