Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
SCREEN Statement
◄Contents► ◄Index► ◄Back►
──────────────────────────────────────────────────────────────────────────────
Sets the screen mode and other characteristics of your screen.
SCREEN mode% [,[colorswitch%] [,[activepage%] [,visualpage%]]]
■ 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):
Mode Value Action
════ ════════ ══════════════
0 0 Disables color
0 Nonzero Enables color
1 0 Enables color
1 Nonzero Disables 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
See Also ◄CIRCLE► ◄COLOR► ◄DRAW► ◄LINE► ◄PAINT►
◄SCREEN Function► ◄VIEW► ◄WINDOW► ◄Screen Modes►