SET.EXIT.STATUS |
![]() ![]() ![]() |
The SET.EXIT.STATUS command sets the final exit status returned by QM to the operating system. This command is not available on the PDA version of QM.
Format
SET.EXIT.STATUS value
where
By default, QM returns an exit status of zero to the operating system on termination. The SET.EXIT.STATUS command allows an application to return an alternative exit status value to indicate, for example, success or failure. Note that error conditions detected during startup of a QM session return an exit status of 1.
See also the QMBasic SET.EXIT.STATUS statement. |