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

The Altova MissionKit is an integrated suite of tools ideal for:
- XML development
- Web & Web services development
- Data mapping & integration
- Rendering & publishing XML & database data
- XBRL validation, taxonomy editing, transformation & rendering
The MissionKit for XML Developers includes XMLSpy® - the industry-leading XML editor; MapForce® - a
graphical data mapping, conversion, and integration tool; StyleVision® - a visual XSLT stylesheet designer;
DiffDog® - an XML-aware diff/merge tool; and 2 additional tools.
Try all 6 products free for 30 days!
Download a fully-functional free trial
|
|
|
|