#N canvas 0 31 451 383 10; #X obj 125 251 list-insert 2; #X obj 168 172 hradio 15 1 0 8 empty empty POS_(zero-based) 0 -6 0 8 -262144 -1 -1 0; #X msg 233 222 0 1 2 3 4 5 6; #X text 231 203 original list; #X floatatom 168 197 5 0 0 0 - - -; #X text 68 69 Argument: default POS; #X text 67 49 POS is zerobased. Negative POS will count from the end. ; #X msg 125 132 list SOME ELEMENTS; #X msg 125 162 INS; #X text 65 12 list-insert: insert LIST before element at position POS in original list.; #X obj 125 280 print NEW_LIST; #X floatatom 125 190 5 0 0 0 - - -; #X text 125 113 LIST or element to insert; #N canvas 461 31 494 396 META 0; #X text 12 25 LICENSE SIBSD; #X text 12 155 AUTHOR Frank Barknecht; #X text 12 175 HELP_PATCH_AUTHORS Frank Barknecht. "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 5 KEYWORDS control list_op; #X text 12 75 INLET_0 anything; #X text 12 95 INLET_1 float; #X text 12 45 DESCRIPTION insert LIST before element at position POS in original list; #X text 12 115 INLET_2 anything; #X text 12 135 OUTLET_0 list; #X restore 397 357 pd META; #X connect 0 0 10 0; #X connect 1 0 4 0; #X connect 2 0 0 2; #X connect 4 0 0 1; #X connect 7 0 0 0; #X connect 8 0 0 0; #X connect 11 0 0 0;