CellAsReal Method

Important note
Applies to a design table sheet. Returns the contents of a cell located in a column intended for real values.  Returns zero if the cell does not contain a real or if the method arguments are not properly specified.

Syntax

sheet.CellAsReal(rowIndex: Integer, columnIndex: Integer): Real

where rowIndex is the configuration number (integer from 1 to n) and columnIndex the column number.

Example

Boolean2=Relations\DesignTable1\sheet_name.CellAsBoolean(1,5)
if (Boolean2 <> true)
  {
    Message("Error !!!")
  }

Sample

KwrProgramDT.CATPart   

 

Back Up Next