Posted by: Jerry Lees
dimensional arrays, erase, VBScript, VBScript Statements, vbscriptstatements, working with arrays
The VBScript Erase statement is used to erase all the values of an array, but keep the array size and dimensions intact.
This is useful when you re-use an array and you want to ensure the values inside an array have truely been cleared and no old data is left in the array.
For example, the following would print a blank line:
Bob(1) = “Rickky Bobby”