CGrid:GetNum
The GetNum method returns grid cell contents as a number.
nValue = CGrid:GetNum( nCol, nRow )
Where nCol, and nRow are the coordinates of the cell to get.
On success, the numeric value in the specific grid cell is returned as nValue.
On failure, nil is returned.
The following script returns the cell contents in column 5, row 10:
|
-- create a CGrid object |
-- fill the grid |
|
|
-- return the numeric value in cell (5,10) |
|
-- list the numeric value. |
Mira Pro x64 Script User's Guide, Copyright Ⓒ 2022 Mirametrics,
Inc. All Rights Reserved.