Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Turbo Pascal - <b> graphbackground set graphics background color pp 166</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 GRAPHBACKGROUND        Set Graphics Background Color                 pp 166

 Syntax:  GraphBackground (Color) ;

 Type:    Integer

 Form:    Procedure

 Purpose: Set graphics background color in range of 0..15.

 Colors:  0: Black        4: Red           8: DarkGray      12: LightRed
          1: Blue         5: Magenta       9: LightBlue     13: LightMagenta
          2: Green        6: Brown        10: LightGreen    14: Yellow
          3: Cyan         7: LightGray    11: LightCyan     15: White


 ----------------------------------------------------------------------------



 Usage:
       BEGIN
          GraphColorMode      ;   { Set 320x200 graphics mode }
          GraphBackground (1) ;   { Set background to blue    }
       END.

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