VBScript Array
Function
The Array function returns a variable that contains an array.
Note: The first element in the array is zero.
Syntax
Parameter | Description |
---|---|
arglist | Required. A list of element values in the array (separated by commas). |
Example
Example 1
Output of the above example:
Example 2
Output of the above example:
Example 3
Traversing all items in the array:
Output of the above example: