| **Navigation:**  [[introduction.htm|Language Reference]] > 13 - Built-in Functions >====== UNFIXFORMAT (unfix a dynamic file) ====== | [[type write string to screen .htm|{{btn_prev_n.gif|Previous page}}]][[introduction.htm|{{btn_home_n.gif|Return to chapter overview}}]][[unfreeze resume control drawing .htm|{{btn_next_n.gif|Next page}}]] | | || **UNFIXFORMAT( **//file//**// )//** {{blk2blue.jpg|blk2blue.jpg}} | **UNFIXFORMAT** | Change state of a dynamic file to unfixed | | //file// | The label of a FILE structure, which must be a reference variable. | **UNFIXFORMAT** changes a dynamic file that has previously been fixed into an unfixed state, thus allowing you to further change the format. **UNFIXFORMAT** will set ERRORCODE to NoDriverSupport if you pass a file that was not created with NEW(file) If you pass a file that was not created using NEW(file), **UNFIXFORMAT** posts the following error codes that can be trapped by the ERRORCODE function: | **Errorcode** | **Equate** | **Reason** | | 80 | //NoDriverSupport// | File passed that was not created with NEW(//file//) | | 47 | //InvalidFileErr// | Structure is invalid | If error code 47 is posted, the FILEERRORCODE statement can be used to return extended information. See the [[how do i handle an error 47.htm|ErrorCode 47 Extended information]] topic for more information. **See Also:** [[fixformat fix a dynamic file .htm|FIXFORMAT]] , [[fileerrorcode return file driver error code number .htm|FILEERRORCODE]]