PPWIZARD is a free preprocessor for HTML, REXX, Visual Basic or any text files.
#Error |
This command allows you to halt processing and display an error message to explain the problem.
The #Warning command is similar but does not halt processing.
Syntax |
[WhiteSpace]#error [']ErrorMessage[']
The "ErrorMessage" specifies the text to be displayed. The text can contain "{NL}" to cause a line break.
Example |
#if GetEnv('FRED') <> 1 & GetEnv('FRED') <> 2 #error "Invalid value for variable 'FRED'" #endif