From Xojo Documentation
Removes the specified element from the array.
|array||Any data type||Required. The array from which to remove the element.|
|index||Integer||Required. The index number to be removed.|
The RemoveAt method removes the index element from the array. The remaining elements are shifted down to the removed element so that there are no gaps in the array.
The RemoveAt method works with one-dimensional arrays only.
Arrays can have a maximum index value of 2,147,483,646.
This example removes element 1 from the aNames array: