Unit 'csvdocument' Package
[Overview][Types][Classes][Index] [#fcl]

TCSVDocument.HasCell

Test if a cell exists.

Declaration

Source position: csvdocument.pp line 121

public function TCSVDocument.HasCell(

  ACol: Integer;

  ARow: Integer

):Boolean;

Arguments

ACol

  

Column to test in row aRow.

ARow

  

Row to text.

Function result

True if the cell at aCol,aRow exists.

Description

HasCell returns True if aRow is a valid row index, (i.e. is larger than or equal to 0 (zero) and is strictly less than RowCount) and aCol is a valid column index for that row, i.e. is larger than or equal to 0 (zero) and is strictly less than ColCount[aRow]) .

See also

RowCount

  

Number of available rows.

HasRow

  

Test if a row exists.

ColCount

  

Return the column count for a given row.


Documentation generated on: Dec 27 2024