$WARNING compiler directive

$WARNING compiler directive

Top  Previous  Next


The $WARNING directive generates a compilation warning.





$WARNING message




messageis the warning message to be displayed by the compiler.



The $WARNING directive causes the QMBasic compiler to generate a compilation warning message. It is most likely to be used inside a $IFDEF conditional compilation structure to recognise that the program is in some way invalid.






  $WARNING Platform not defined



The above example generates a compilation warning if the PLATFORM token has not been defined.


See also: