Search here for all the info you want in this Blog

Declaring Array



An array will be declared by using the Keyword "Dim", Name of the array and by passing the Highest valid index (is also called as upper bound)

ex:

Dim A(10)

Although the number shown in the parentheses is 10, all arrays in
VBScript are zero-based, so this array actually contains 11
elements. In a zero-based array, the number of array elements is
always the number shown in parentheses plus one. This kind of an
array is called a fixed-size array.

No comments:

Post a Comment