Directive #error Foundation
Generates a compiler error and displays an error message
<ErrorMessage> contains the text of the error message which is displayed on screen during the compile. It should be literal text with no surrounding quotes.
The directive #error causes the compiler to generate the error code XBT0517, prevent creation of an OBJ file, and display the error message <ErrorMessage> on the screen.
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.