GML::GET - Retrieve Row Data
Syntax
CALL "GML::GET"
Description
This procedure retrieves a row of grid cell data with attributes. The retrieved variables are placed into the GML_TPL$ template. The GML_TPL$ template variable GML_TPL.ROW_N% is used to designate which row of data to retrieve. If all GML_TPL.COL$[c] column variables contain no data (are empty) then subsequent to execution of the GET procedure the GML_TPL.ROW_STAT% variable will contain the value of 1, indicating the row is empty.
This procedure is identical to Retrieve Grid Cell Data.
Options
If variable GML_TPL.ROW_N% is set to –1 prior to execution of the procedure, then the current selected row data will be returned.
If variable GML_TPL.DEF_FLAG% is set to 1 prior to executing the procedure, only row data will be returned in the GML_TPL$ template (cell attribute data will not be placed in the template).
Example
2400 GML.SET%=1
2410 CALL "GML::TPL_PREP"
2420 GML_TPL.ROW_N%=2
2430 CALL "GML::GET"