BYOND Developer Wiki
Advertisement

DM Reference Entry This page contains an entry from the official DM Reference.

Format[]

#warn Text


Args[]

Text: a warning message to display

Description[]

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

Example[]

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

See also[]


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