Fb_No_Gfxlib

User-defined compiler control symbol

Syntax
   #define FB_NO_GFXLIB

Description
   Defining FB_NO_GFXLIB tells the compiler not to treat selected 
   graphics-library command words as built-in gfxlib command keywords.

   This is useful in larger programs or libraries that do not use the 
   legacy graphics command surface and need names such as Screen, Paint, or 
   Window to be available as normal identifiers.

   The affected gfxlib command words are PSET, PRESET, POINT, CIRCLE, 
   WINDOW, PALETTE, SCREEN, SCREENQB, PAINT, DRAW, and IMAGECREATE.

   FB_NO_GFXLIB affects parsing only after the symbol has been defined.  It 
   does not remove libraries that are explicitly requested through other 
   code, and it does not change the behavior of already-parsed source.

Example
   #define FB_NO_GFXLIB

   Type Window
      As Integer id
   End Type

   Dim As Window main_window
   main_window.id = 1

Version
   * Since fbc 1.20.1

Differences from QB
   * New to FreeBASIC

See also
   * #define
   * Compiler Option: -d
   * Graphics Keyword List

