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
◄Summary► ◄Details► ◄Example► ◄Contents► ◄Index► ◄Back►
──────────────────────────────────────────────────────────────────────────────
Sets a screen mode for a particular combination of display and adapter; not
available when forms are showing. Use the SCREEN object with forms.
See: ◄SCREEN Object►
SCREEN mode% [,[colorswitch%] [,[activepage%] [,visiblepage%]]]
■ mode% Integer constant or expression that selects a screen
mode for a particular combination of display and adapter:
Display/Adapter Screen Mode
═══════════════════════════════════════ ═════════════
MDPA, CGA, Hercules, Olivetti, ◄0►
EGA, VGA, or MCGA text only
CGA, EGA, VGA, or MCGA low- and medium- ◄1, 2►
resolution graphics
Hercules and other adapters ◄3, 4►
EGA and VGA medium- and high-resolution ◄7, 8, 9►
graphics
EGA and VGA monochrome high-resolution ◄10►
graphics
VGA and MCGA high-resolution graphics ◄11, 12, 13►
■ colorswitch% Integer expression that switches composite monitor
display between color and non-color (modes 0 and 1 only)
■ activepage% Integer expression that identifies the screen page that
text or graphics output is written to
■ visiblepage% Integer expression that identifies the screen page that
is displayed
See Also
◄Graphics Command Summary► ◄SCREEN Function►
◄Screen Mode Summary► ◄SCREEN Object►