Promotic

LoadFromString - method of the PmaData object

Description:
Assignment of data item values on the "Data" tab of this object from the text value (of the String type).
Syntax:
Long LoadFromString(String sString)
Parameters:
sString(String) String value created for example by the SaveToString method.
Return value:
Returns the number of set items.
Note:
For the form of the text value see description of the SaveToString method.
See also:
Example:
JavaScriptVBScriptSelect and copy to clipboard

var oData = pMe.Pm("/Data");
oData.LoadFromString("5;3.14;22");
// or
var nCount = oData.LoadFromString("5;3.14;22");   // nCount = 3
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

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