MAINSAIL Language Manual, Section 34.19

previous   next   top   contents   index   framed top   this page unframed


34.19. exit

Figure 34–16. exit
PROCEDURE   exit        (OPTIONAL STRING msg);

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.


previous   next   top   contents   index   framed top   this page unframed

MAINSAIL Language Manual, Section 34.19