[PD] Delete element from / add element to array

2015-05-25 Thread Pierre Massat
Dear list, I've spent a fair amount of time today trying to do two things : - delete an element from an array (and end up with an array of size n-1), - add an element to an array (end up with an array of size n+1), both at an arbitrary position in the array. Is there any simple and elegant way t

Re: [PD] Delete element from / add element to array

2015-05-25 Thread Miller Puckette
It's not simple or elegant but possible... use [array get] to get the part of the array past the area you want to delete; use [array set] to write them back into the array at an earlier location; use [array size] to resize the array downward. cheers Miller On Mon, May 25, 2015 at 10:08:44PM +020