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.
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
Dim oData
Set oData = pMe.Pm("/Data")
oData.LoadFromString "5;3.14;22"
' or
Dim nCount
nCount = oData.LoadFromString("5;3.14;22")
' nCount = 3