SET BACKUP - indicate if a backup copy of the file is to be kept
- [SET] BACKup OFF|TEMP|KEEP|ON|INPLACE
- The SET BACKUP command allows the user to determine if a backup copy of the original file is to be kept when the file being edited is saved or filed.
- KEEP and ON options are the same. ON is kept for compatability with previous versions of THE.
- With OFF , the file being written to disk will replace an existing file. There is a chance that you will end up with neither the old version of the file or the new one if problems occur while the file is being written.
- With TEMP or KEEP options, the file being written is first renamed to the filename with a .bak extension. The file in memory is then written to disk. If TEMP is in effect, the backup file is then deleted.
- With INPLACE , the file being written is first copied to a file with a .bak extension. The file in memory is then written to disk in place of the original. This option ensures that all operating system file attributes are retained.
- XEDIT: N/A
- KEDIT: Compatible.
- See Also:
- FILE, FFILE, SAVE, SSAVE
The Hessling Editor is Copyright © Mark Hessling, 1990-2006
Generated on: 30 Jan 2006
Return to Table of Contents