$WARNING compiler directive |
|
|
The $WARNING directive generates a compilation warning.
Format
$WARNING message
where
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.
Example
$IFNDEF PLATFORM $WARNING Platform not defined $ENDIF
The above example generates a compilation warning if the PLATFORM token has not been defined.
|