QBasic 1.1: SCREEN Statement

Syntax

SCREEN mode% [,[colorswitch%] [,[activepage%] [,visualpage%]]]

Description / Parameter(s)

mode% Sets the screen mode. See Screen Modes.
colorswitch% A value (0 or 1) that switches between color and monocolor display (modes 0 and 1 only):
 
ModeValueAction
00Disables color
0NonzeroEnables color
10Enables color
1NonzeroDisables color
activepage% The screen page that text or graphics output writes to.
visualpage% The screen page that is currently displayed on your screen.

Example

'This example requires a color graphics adapter. SCREEN 1 '320 x 200 graphics LINE (110, 70)-(190, 120), , B LINE (0, 0)-(320, 200), 3, , &HFF00