| xHarbour Reference Documentation > Function Reference |
![]() |
![]() |
![]() |
Retrieves and/or changes the safety switch used in CA-Tools file operations.
CSetSafety( [<lNewMode>] ) --> lOldMode
The function returns the previous safety switch as a logical value.
When the file safety switch is set to ON, existing files are not overwritten. The switch is only recognized by CA-Tools compatible functions FileAppend(), FileCopy(), ScreenFile(), StrFile() and Volume().
| See also: | FileAppend(), FileCopy() |
| Category: | CT:Settings , File functions |
| Source: | ct\strfile.c |
| LIB: | xhb.lib |
| DLL: | xhbdll.dll |
http://www.xHarbour.com