From Xojo Documentation
| This item has been deprecated since version 2019r2 and should no longer be used.
Please use Arrays.RemoveAt as a replacement.
Removes an element from an array. Arrays are zero-based.
|array||Any data type||Required. The array to remove the element from.|
|index||Integer||Required. The element number to be removed. Arrays are zero-based.|
The Remove method removes the index element from the array. The resulting elements are shifted down to the removed element so that there are no gaps in the array.
The Remove method works with one-dimensional arrays only.
All arrays are indexed starting at position 0. Arrays can have a maximum index value of 2,147,483,646.
This example removes element 4 from the aNames array: