The #Error directive declares a compile time error.


#Error {error-number} {error-message}

What It Does

The #Error command allows for user-supplied compile time errors to be generated. The #Error command takes two arguments, the {error-number}, and the {error-message}. The error number may be any number, but a special error number, 999, will abort the compiler immediately. The error text will be displayed like any other standard compile time error message.

#If (!0<5)

    #Error 200 The location parameter is required