h6. [[OS SWI Calls]] h6(. » [[OS_File]] h6((. » OS_File 6 h2. OS_ File 6 h5. (SWI &08) |_<^{width:3em}. Entry | | |<^. R0 |<^. 6 (reason code) | |<^. R1 |<^. Pointer to non-wildcarded object name | |_<^{width:3em}. Exit | | |<^. R0 |<^. [[File Object Types|Object type]] | |<^. R1 |<^. Preserved | |<^. R2 |<^. "Load address":linkload | |<^. R3 |<^. "Execution address":linkexecution | |<^. R4 |<^. Object length | |<^. R5 |<^. "Object attributes":linkattributes | |\2<^. R2 – R5 are corrupted if no object is found| h4. Use The purpose of this call is to delete a named object. h4. Notes It is not an error if the object does not exist. An error is generated if object is locked, open or a non-empty directory. h4. See also * "Execution address":linkexecution * "Load address":linkload * "Object attributes":linkattributes * [[File Object Types|Object type]] * [[OS_File]] [linkload]FileSwitch%20Key%20Features#load_execution [linkexecution]FileSwitch%20Key%20Features#load_execution [linkattributes]FileSwitch%20Key%20Features#file_attributes