home *** CD-ROM | disk | FTP | other *** search
- -- New file in EOS2. This is included early in STDCNF.E so it comes BEFORE
- -- any other defexit macros defined by the user. If the user says, "Yes, exit"
- -- we simply continue on to the other defexit's as before.
- -- If the user says "No" we stop right here.
-
- defexit
- if askyesno(ABOUT_TO_EXIT__MSG)<> YES_CHAR then
- -- To tell E not to exit, turn off the switch exit_after_last_file.
- exit_after_last_file = 0
- stop
- endif
- -- Else tell E it's okay to leave.
- exit_after_last_file = 1
- -- And continue on to the other defexit's.
-