VBScript Array Function
Complete VBScript Reference
The Array function returns a variant containing an array.
Note: The first element in the array is zero.
Syntax
| Parameter |
Description |
| arglist |
Required. A list (separated by commas) of values that is
the elements in the array |
Example 1
dim a
a=Array(5,10,15,20)
document.write(a(3))
Output:
20
|
Example 2
dim a
a=Array(5,10,15,20)
document.write(a(0))
Output:
5
|
Complete VBScript Reference
|