Description:
Returns a Boolean value - specifies whether the variable is an array.
In the PROMOTIC system it is better to use the Pm.GetVarType method.
Syntax:
Boolean IsArray(Variant var)
Parameters:
var | (Variant) any variable |
---|
Return value:
true - if the variable is an array
false - Otherwise
Example:
VBScriptSelect and copy to clipboard
Dim b, arr(
2)
arr(0) = "Sunday"
arr(1) = "Monday"
arr(2) = "Tuesday"
b = IsArray(arr)
' b contains true