The VBScript Network and Systems Administrator's Cafe:

dimensional arrays

1

August 17, 2008  2:02 AM

VBScript Statements: Explanation of the ReDim Statement



Posted by: Jerry Lees
arrays, dimensional arrays, redim, VBScript Statements

The ReDim statement in VBScript allows you to declare a array, or a multi-dimensional array, in your code. Also, this statement allows you to re-declare the number of elements in the array at a later time in the code. This is important because it also allows you to release...

June 20, 2008  3:19 PM

VBScript Statements: Explanation of the Erase statement



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...


1

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to: