Promotic
WikipediaLinkedInYoutubeTwitterFacebook

SaveToVbArray - method of the PmArray object

Description:
Returns a copy of PmArray array 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 can be used 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.01: Created
PROMOTIC 9.0.13 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