FANDOM


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

FormatEdit

#warn Text


ArgsEdit

Text: a warning message to display

DescriptionEdit

The #warn directive displays the specified message as a warning, but does not prevent the project from compiling.

ExampleEdit

#ifdef USE_LIGHTING
#warn The lighting feature in MyLibrary is experimental.
#endif

See alsoEdit


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