Difference between revisions of "SCREEN"

From QB64 Wiki
Jump to navigation Jump to search
imported>Clippy
imported>Clippy
Line 1: Line 1:
The '''SCREEN''' statement sets the screen mode in a program. No SCREEN statement defaults program to SCREEN 0.
 
 
 
''Syntax:'' SCREEN mode%
 
 
 
 
* SCREEN 0 (default) is a '''text only''' screen mode. 32 colors with hi-intensity(blinking) colors over 15. 16 Background colors. No graphics are possible! Can be run in a window. ALT-Enter switches from a window to fullscreen. Can use [[PCOPY]]. Text is 25, 43 or 50 rows by 40 or 80 columns. Default is 25 by 80. See WIDTH.
 
* All other available SCREEN modes can be text and graphics and are fullscreen only.
 
* SCREEN 1 has 4 background color attributes. 1 = blue, 2 = green, 3 = grey. White foreground only. Text is 25 by 40. Graphics is 320 by 200.
 
* SCREEN 2 is '''monochrome''' with black background and white foreground. Text is 25 by 80. Graphics 640 by 200.
 
* SCREENs 3 to 6 are '''no longer available''' on most computers! Using them will cause an error!
 
* SCREEN 7 has 16 color attributes as DAC colors 0 to 15 with background colors. Text 25 rows by 40 columns. Graphics 320 columns by 200 rows. Can use 8 (0 to 7) pages for flipping.
 
* SCREEN 8 has 16 color attributes. Text is 25 by 80. Graphics is 640 by 200.
 
* SCREEN 9 has 64 DAC color hues for 16 attributes with background colors. Text is 25 by 80. Graphics is 640 by 350. Can use 2 (0 and 1) pages for flipping.
 
* SCREEN 10 has 4 color attributes with black background. 1 = normal white, 2 = bright white and 3 = blinking bright white. Text is 25 by 80. Graphics is 640 by 350.
 
* SCREEN 11 is '''monochrome''' with black background and white foreground. Text is 30 or 60 by 80. Graphics is 640 by 480. See WIDTH.
 
* SCREEN 12 has 16 color attributes, black background. Text is 30 or 60 by 80 columns. Graphics 640 by 480. See WIDTH.
 
* SCREEN 13 has 256 color attributes, black background. Text is 25 by 40. Graphics is 320 by 200.
 
 
 
 
''See also:'' [[WIDTH]], [[PALETTE]]
 
  
  

Revision as of 17:55, 3 September 2009