func getRecord(_ recno: Int) -> Bool

If last read record is equal to 'recno' then getRecord() does nothing, otherwise it calls readRecord.
You can reset 'last read record' by calling resetLastRecord().


{
    // your code
    if ( dbf.getRecord( row ) )
    {
        // your code
    }
}