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
◄Syntax► ◄Details► ◄Example► ◄Contents► ◄Index► ◄Back►
──────────────────────────────────────────────────────────────────────────────
SCREEN mode% [, [colorswitch%] [, [activepage%] [,visiblepage%]] ]
■ mode% An integer constant or expression that selects a screen
mode for a particular combination of display and adapter:
◄MDPA, CGA, Hercules, Olivetti, EGA, VGA, or MCGA Text Only►
◄CGA, EGA, VGA, or MCGA Low- and Medium-Res. Graphics►
◄EGA and VGA Medium- and High-Resolution Graphics►
◄EGA and VGA Monochrome High-Resolution Graphics►
◄VGA and MCGA High-Resolution Graphics►
◄Hercules and Other Adapters►
■ colorswitch% An integer expression that switches composite monitor
display between color and noncolor (modes 0 and 1 only).
■ activepage% An integer expression that identifies the screen page
that text or graphics output is written to.
■ visiblepage% An integer expression that identifies the screen page
that is displayed.
■ In OS/2 protected mode, BASIC supports only screen modes 0-2 and
does not support the activepage% and visiblepage% arguments.
In OS/2 real mode, BASIC supports screen modes 0-4 and 7-13.
See Also ◄Adapters and Displays► ◄COLOR► ◄LOCATE►
◄Attributes and Colors► ◄WIDTH► ◄SCREEN Function►
◄Screen Mode Summary► ◄PALETTE, PALETTE USING►