BYOND Developer Wiki
Advertisement

DM Reference Entry 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
Advertisement