__FB_DEBUG__
 
Intrinsic define (macro value) set by the compiler

Syntax

__FB_DEBUG__

Description

__FB_DEBUG__ indicates if the the generate debug information option '-g' was specified on the command line at the time of compilation.

Returns non-zero (-1) if the option was specified. Returns zero (0) otherwise.

Example

#if __FB_DEBUG__ <> 0
        #print Debug mode 
#else 
        #print Release mode 
#endif


Differences from QB

  • New to FreeBASIC

See also