From Xojo Documentation
Adds a new element to the end of a one-dimensional array, increasing the size of the array by one. The value must match the data type of the array.
|array||Required. The array to to which you wish to add elements.|
|value||The value to be assigned to the new array element.|
The Add method works with one-dimensional arrays only.
This example adds a new element to the end of the names array. The new element becomes the last element of the array.