sType | (String) Type of selected values of the array:
"Row" - One row of the array (of the table) is selected.
The index value must be integer: - index>=0 means the index of the selected row (zero-based index). "Col" - One column of the array (of the table) is selected.
The index value must be integer: - index>=0 means the index of the selected column (zero-based index). |
---|---|
nIndex | (Long) Index into the table whose meaning is defined by the sType parameter. |
aArray | (Array) 1-dimensional array of values (PmArray object for JavaScript or Array data type for VBScript), that will be added to row or column of the 2-dimensional array. |
var aRow = Pm.CreatePmArray().Array1(10, 20, 30, 40);
var result = oArray.SetSubArray("Row", 0, aRow);