5.3. Message generating

The following keywords generate a message, just as if it came directly from the compiler. Each is followed by a string which will be displayed as part of the message.

5.3.1. _DEBUG

Format:


          _DEBUG '"' ... '"'
        
Generates a debug message. This will only be seen if the "-debug" compiler option has been used.

Example:


          _DEBUG "this file is being deprecated"
        

5.3.2. _ERROR

Format:


          _ERROR '"' ... '"'
        
Generates an error message.

Example:


          _ERROR "this function should not be used"
        

5.3.3. _WARN

Format:


          _WARN '"' ... '"'
        
Generates a warning message.

Example:


          IF !DEFINED(foo) THEN
            _WARN "foo is not defined"
          END IF