Skip to content

TCSVDocument.HasCell

Test if a cell exists.

Declaration

Source position: csvdocument.pp line 121

public 
function TCSVDocument.HasCell(ACol: Integer; ARow: Integer) : Boolean;

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

Name Description
RowCount Number of available rows.
HasRow Test if a row exists.
ColCount Return the column count for a given row.