Promotic

SaveToVbArray - method of the PmArray object

Description:
Returns a copy of PmArray as VBScript array.
Syntax:
Array SaveToVbArray()
Note:
This method is not functional in Web panels.
If in VBScript scripts some method returns PmArray array (e.g. Pm.JsonParse method), then the SaveToVbArray method allows to convert it into VBScript array.
See also:
Example:
JavaScriptSelect and copy to clipboard

var arr = Pm.CreatePmArray().Array1(10, 20, 30, 40);
var vbarray = arr.SaveToVbArray();

History:
Pm8.03.17: Created
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

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