#warning
Produce a compiler warning message.
#warning Text
Parameters
Text—message text
Description
The #warning directive causes the ProcScript compiler to generate a warning message. The message Text appears in the Compiler Output tab, and the warning message is added to the total for the module being compiled.
The following example causes the ProcScript compiler to generate a warning message if the compile-time constant <MYCONSTANT> has not been defined:
#ifundefined MYCONSTANT #warning The constant MYCONSTANT has not been defined. #endif