FANDOM


BYOND Environment This page contains an entry from the official DM Reference.

FormatEdit

#error Text


ArgsEdit

Text: an error message to display

DescriptionEdit

The #error directive halts compilation and displays the specified message.

ExampleEdit

#if DM_VERSION < 4
#error This compiler is too far out of date!
#endif

See alsoEdit


preprocessor
directives #define | #error | #if | #ifdef | #ifndef | #include | #undef | #warn
macros DM_VERSION | __FILE__ | __LINE__ | __MAIN__
definitions DEBUG | FILE_DIR