func truncate(_ recno: Int) -> Bool

The function truncate(N) removes all records after N.
This operation cannot be undone.


{
    // your code
    print( "Reccount = " + String(dbf.recCount()) )
    dbf.truncate(100)
    print( "Reccount = " + String(dbf.recCount()) )
    // your code
}