Promotic
WikipediaLinkedInYoutubeTwitterFacebook

IsArray - function of language VBScript

Description:
Returns a Boolean value indicating whether a variable is an array.

In the PROMOTIC system it is better to use the Pm.GetVarType method.

Syntax:
Boolean IsArray(Variant var)
Calling:
b = IsArray(var)
Parameters:
var(Variant) any variable
Return values:
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
PROMOTIC 9.0.10 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice