$STOP compiler directive

$STOP compiler directive

Top  Previous  Next


The $STOP directive terminates compilation.





$STOP {message}




messageis an optional message to be displayed by the compiler.



The $STOP directive causes the QMBasic compiler to terminate compilation of the current program. It is most likely to be used inside a $IFDEF conditional compilation structure to recognise that the program is inappropriate to the system being compiled.






  $STOP Program not applicable to QM



The above example appears in the program in the BP file of the QMSYS account. This program is issued in source form for use in environments other than QM.


See also: