GetVarArray - method of the PmaData object
Description:
Creates an array of values from all object variables.
Syntax:
Array GetVarArray()
Return value:
1-dimensional array of values (
PmArray object for
JavaScript or
Array data type for
VBScript).
Note:
Values from so created 1-dimensional array can be assigned to variables of the "
Data" tab by calling the methods
SetVarArray and
SetVarSubArray.
The
GetVarSubArray method serves for getting 1-dimensional array of
specified variables values on the "
Data" tab.
Example:
JavaScriptVBScriptSelect and copy to clipboard
var oData = pMe.Pm("/Data");
var arr = oData.GetVarArray();
Dim oData
Set oData = pMe.Pm("/Data")
Dim arr
arr = oData.GetVarArray()