Contents  Index  
──────────────────────────────────────────────────────────────────────────────
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
──────────────────────────────────────────────────────────────────────────────
 © Copyright Microsoft Corporation, 1987-1992. All rights reserved.
   Converted from qbasic.hlp with DosHelp/HelpConvert