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
Click here to design a Stunning Flash Website for Free
Wix is a revolutionary web design tool that provides anyone with the possibility to create professional and beautiful websites for free.
With e-commerce features, search engine visibility and many more professional tools, Wix is the ultimate solution for creating a spectacular site while saving tons of money.
|