PPWIZARD is a free preprocessor for HTML, REXX, Visual Basic or any text files.
[Bottom][Contents][Search][Prev]: #evaluate[+][Next]: #if
\ -> Commands -> #Error

#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


email me  any feedback, additional information or corrections.
See this page online (look for updates)

[Top][Contents][Search][Prev]: #evaluate[+][Next]: #if


PPWIZARD Manual
My whole website and this manual itself was developed using PPWIZARD (free preprocessor written by Dennis Bareis)
Sunday November 05 2017 at 10:00am