Termination

Following appropriate input from the user (selection of Quit from a menu, for example) or instruction from the System Manager (return of a terminate event), the application calls m_action(DO_FINI) or m_fini(), which are roughly equivalent to exit() in a normal DOS application. The System Manager releases the memory used by the application and reactivates the application on top of the application stack. This will be the most recently used application that has not been terminated. The bottom item on the application stack will always be the "topcard" screen, which simply displays a PCX file and the user's name, rank, and serial number.