#N canvas 0 31 574 354 10; #X msg 57 84 0 1 2 3 4 5 6 7 8 9 10 11; #X floatatom 145 148 5 0 0 0 - - -; #X floatatom 101 146 5 0 0 0 - - -; #X obj 57 190 list-swap 2 5; #X text 49 19 [list-swap] - swap two elements of a list at given indices. Index values can be negative. If an index value is out of range \, the list is passed with no change.; #X msg 75 114 list a b c d e f g h i j k; #X obj 57 216 prepent set; #X msg 57 241 a c b; #N canvas 506 181 494 396 META 0; #X text 12 25 LICENSE SIBSD; #X text 12 165 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 65 INLET_0 anything; #X text 12 145 AUTHOR Frank Barknecht; #X text 12 45 DESCRIPTION swap two elements of a list at given indices ; #X text 12 85 INLET_1 float; #X text 12 105 INLET_2 flaot; #X text 12 125 OUTLET_0 list; #X restore 512 322 pd META; #X connect 0 0 3 0; #X connect 1 0 3 2; #X connect 2 0 3 1; #X connect 3 0 6 0; #X connect 5 0 3 0; #X connect 6 0 7 0;