func zap() -> Bool

The function zap() removes all records from a dbf file.
This operation cannot be undone.


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