The VBScript Network and Systems Administrator's Cafe:

working with arrays

1

July 2, 2008  12:06 AM

VBScript Statements: Explanation of the For Each … Next Statement



Posted by: Jerry Lees
Conditional statements, for, for each, for each next, next, VBScript Statements, vbscriptstatements, working with arrays

The For Each Next statement combination is very useful for situations where you need to loop through a piece of code a specific number of times, just like the For Next statement, except that you may not even know at run time how many...

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: