Sign in Join
FPDoc Onlineexperiment

TCSVDocument.HasCell function

Member of TCSVDocumentpublicIn unit CsvDocument

Test if a cell exists.

Declaration

pascal
function 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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.