__FB_GUI__

Intrinsic define (macro value) set by the compiler

Syntax
   __FB_GUI__

Description
   __FB_GUI__ indicates whether GUI subsystem mode is active at the current 
   point in compilation.

   Returns non-zero (-1) if the executable subsystem option -s gui was 
   specified, or if #Pragma Gui is active. Returns zero (0) otherwise.

Example
   #if __FB_GUI__ <> 0
         #print Executable subsystem: gui
   #else 
         #print Executable subsystem: console
   #endif

Version
   * Since fbc 1.06.0

Platform Differences
   * On Windows and Cygwin, this controls the linker subsystem.
   * Other targets may use the same mode value for target-specific startup 
     or runtime behavior.

Differences from QB
   * New to FreeBASIC

See also
   * Compiler Option: -s
   * #pragma

