Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper 5.2 . The Guide To CA-Clippe - <b>#error</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 #error
 Generate a compiler error and display a message
------------------------------------------------------------------------------
 Syntax

     #error [<messageText>]

 Arguments

     <messageText> is the text of the message to be displayed.
     <messageText> is a literal character string--do not enclose the message
     in quotations unless you want them to appear as part of the display.

 Description

     #error causes the compiler to generate error number C2074.  If the
     <messageText> parameter is specified, an error message is displayed.

 Examples

     .  This example displays an error message based on whether or not
        a NETWORK identifier was defined:

        #ifdef NETWORK
           #error Network version not implemented.
        #endif

See Also: #command #ifdef #ifndef

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson