Save Checker Module
by Peter Arnold

This module checks all save operations to see if a file would be overwritten as a result. If a file would be overwritten by the operation, the module asks the user whether to overwrite the file. Under the Wimp this is done by displaying the 'Mouse' pointer, otherwise by printing 'File exists - Overwrite (Y/N)'. In either case pressing 'Y' or clicking Select will save the file, overwriting the original. Pressing any other key or clicking Menu or Adjust will abandon the save operation.

Note that this only applies to save operations, and not copy or create operations, which can still overwrite files without warning. Checking can be turned off and on using *CheckOff and *CheckOn. When the module is loaded, checking is turned on.

Running !CheckSave displays a dialogue box enabling the module to be copied by dragging its icon to a directory viewer, or loaded by double clicking on its icon. The source code for the module is saved in !CheckSave as CheckSave2. This is a commented version of the program published in the magazine.
