Deleting an Array Element
- Last UpdatedAug 18, 2026
- 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.