Deleting an Array Element
- Last UpdatedOct 24, 2022
- 1 minute read
To destroy an array element, use the Delete() method.
!MyArray[N].Delete()
The deleted array element would test as UNDEFINED.
Note:
The array continues to exist even when you have deleted all its elements.