Update cookies preferences
Promotic

GetVarArray - method of the PmaData object

Description:
Creates an array of values from all object variables.
Syntax:
Array GetVarArray()
Return value:
1-dimensional array of values (PmArray object for JavaScript or Array data type for VBScript).
Note:
Values from so created 1-dimensional array can be assigned to variables of the "Data" tab by calling the methods SetVarArray and SetVarSubArray.
The GetVarSubArray method serves for getting 1-dimensional array of specified variables values on the "Data" tab.
Example:
JavaScriptVBScriptSelect and copy to clipboard

var oData = pMe.Pm("/Data");
var arr = oData.GetVarArray();
PROMOTIC 9.0.31 SCADA system documentation MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r.o.