Promotic
WikipediaLinkedInYoutubeTwitterFacebook

IsArray - function of language VBScript

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

For the purposes of PROMOTIC system, it is more usefull to use the method: Pm.GetVarType.

Syntax:
IsArray(var As Variant) As Boolean
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.0 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