| **Navigation:**  [[introduction.htm|Language Reference]] > 13 - Built-in Functions >====== CREATE (create an empty data file) ====== | [[cos return cosine .htm|{{btn_prev_n.gif|Previous page}}]][[introduction.htm|{{btn_home_n.gif|Return to chapter overview}}]][[create return new control created .htm|{{btn_next_n.gif|Next page}}]] | | || **CREATE(**//file//**)** {{blk2blue.jpg|blk2blue.jpg}} | **CREATE** | Creates an empty data file. | | //file// | The label of the FILE to be created. | The **CREATE** statement adds an empty data file to the operating system directory. If the //file// already exists, it is deleted and recreated as an empty file. The //file// must be closed, or the "File Already Open" error is posted. CREATE does not open the file for access. **Errors Posted:** | 03 | Path Not Found | | 04 | Too Many Open Files | | 05 | Access Denied | | 52 | File Already Open | | 54 | No Create Attribute | **Example:** **CREATE(Master)    !Create a new master file** **CREATE(Detail)    !Create a new detail file** **See Also:** [[close close a data structure .htm|CLOSE]]