The following code
{$ERROR This code is erroneous !}
will display an error message when the compiler encounters it, and increase the error count of the compiler. The compiler will continue to compile, but no code will be emitted.
The $ERRORC variant is supplied for Mac Pascal compatibility.