Promotic
WikipediaLinkedInYoutubeTwitterFacebook

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 values:
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.16 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