Parameters & Returns
Parameters
This function takes no parameters.
Returns
Quick Summary
Clears an array, giving it new sizes or keeping its sizes
Technical Exegesis...
Clears an array: every cell back to 0 ("" for Strings, Null for Types). Syntax is EraseDim name[size1][size2]... to give it new sizes as well, or EraseDim name on its own to keep the sizes it has.
Works on Local and Global arrays (not yet on Fields, Consts or parameters). To change the sizes and keep what fits, use ReDim. ArrayLength gives its sizes.
Example
Local scores:Int[10]
scores[3] = 50
EraseDim scores ; still 10, all 0
EraseDim scores[20] ; now 20, all 0
Print ToString(ArrayLength(scores)) ; 20