FBWiki : KeyPgPperror

FBWiki :: Categories :: PageIndex :: RecentChanges :: RecentlyCommented :: Login/Register

#ERROR


Preprocessor diagnostic directive

Syntax:
#error error_text

Parameters:
error_text
The display message

Description:
#error stops compiling and displays error_text when compiler finds it.

This keyword must be surrounded by an #if <condition> ...#endif so compiler can reach #error only if <condition> is meet.

Examples:
#define c 1

#if c = 1
  #error Bad value of c
#endif


Differences from QB:

See also:

Back to Preprocessor

There are no comments on this page. [Add comment]

Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by Wikka Wakka Wiki 1.1.6.0



sf.net phatcode