#warning        #error

 
Syntax


#warning   Message

     or

#error    ErrorMessage

Description


#warning will issue a warning message visible in the progress window of BASICtools.

#error will generate a compiler error and prevent the BASIC program from being downloaded.

Example

#define COMPILETHIS

#ifdef COMPILETHIS
    '...
#else
  #error  No code available for this option
#endif
Differences from other BASICs

See also