The correct title of this article is #error directive. The substitution or omission of the # sign is because of technical restrictions.
This page contains an entry from the official DM Reference. |
Format[]
#error Text
Args[]
Text: | an error message to display |
Description[]
The #error directive halts compilation and displays the specified message.
Example[]
#if DM_VERSION < 4 #error This compiler is too far out of date! #endif
See also[]
preprocessor
| |
---|---|
directives
|
#define | #error | #if | #ifdef | #ifndef | #include | #undef | #warn
|
macros
|
DM_VERSION | __FILE__ | __LINE__ | __MAIN__
|
definitions
|
DEBUG | FILE_DIR
|