function isDeleted(recno : Integer): Boolean;

Function isDeleted(recno) returns TRUE a record #recno is marked as deleted.
Function isDeleted() or isCurrentDeleted() returns TRUE if the last read record is marked as deleted.


begin
    // your code
    dbf.readRecord(0);
    if dbf.isCurrentDeleted() then
        writeln( 'Record 0 is marked as deleted' );
        
    if dbf.isDeleted(10) then
        writeln( 'Record 10 is marked as deleted' );
    // your code
end;