Array.erase

Function/Meaning

Deletes the specified subscript element.

Type
Arrayclassmethod of
Syntax
erase(index:int)
Arguments
index

position

Return value
None (void)
Explanation

Deletes the subscript at the specified position. The elements after the subscript are shifted forward one by one and packed. An exception will be thrown if the subscript is out of range.