previous next top contents index framed top this page unframed
exit writes msg (if non-Zero) to logFile. The FINAL PROCEDUREs associated with all data sections are executed (in an unspecified order), and any open files and libraries are closed. MAINSAIL then returns control to the program (usually an operating system command interpreter) from which it was invoked.
fastExit provides a quicker (less orderly) exit.
MAINSAIL Language Manual, Section 34.19