VBScript IsArray Function
Complete VBScript Reference
The IsArray function returns a Boolean value that indicates whether a
specified variable is an array. If the variable is an array, it returns True,
otherwise, it returns False.
Syntax
Parameter |
Description |
variable |
Required. Any variable |
Example 1
dim a(5)
a(0)="Saturday"
a(1)="Sunday"
a(2)="Monday"
a(3)="Tuesday"
a(4)="Wednesday"
document.write(IsArray(a))
Output:
True
|
Example 2
dim a
a="Saturday"
document.write(IsArray(a))
Output:
False
|
Complete VBScript Reference
Whether you're new to XML or already an advanced user, the user-friendly views
and powerful entry helpers, wizards, and debuggers in XMLSpy are designed to
meet your XML and Web services development needs from start to finish.
- XML editor
- Graphical XML Schema / DTD editors
- XSLT 1.0/2.0 editor, debugger, profiler
- XQuery editor, debugger, profiler
- Support for Office Open XML (OOXML)
- Graphical WSDL editor & SOAP debugger
- Java, C#, C++ code generation
- And much more!
Download a fully functional free 30-day trial today!
|