|Navigation: Language Reference > 13 - Built-in Functions >====== EMPTY (empty a data file) ======|
|EMPTY||Deletes all records from a FILE.|
|file||The label of a FILE.|
EMPTY deletes all records from the specified file. EMPTY requires exclusive access to the file. Therefore, the file must be opened with access mode set to 12h (Read/Write Deny All) or 22h (Read/Write Deny Write).
|37||File Not Open|
|63||Exclusive Access Required|
OPEN(Master,18) !Open the master file
EMPTY(Master) !and start a new one