Site hosted by Angelfire.com: Build your free website today!
NAME
  VIEW Statement

SYNOPSIS
  VIEW [[SCREEN] (x1!,y1!)-(x2!,y2!) [,[color%] [,border%]]]
      o SCREEN                 Specifies that coordinates are relative to the
                               screen rather than the viewport.
      o (x1!,y1!)-(x2!,y2!)    The coordinates of diagonally opposite corners
                               of the viewport.
      o color%                 A color attribute that sets the viewport fill
                               color.
      o border%                A color attribute that sets the viewport border
                               color.
      o If all arguments are omitted, the entire screen is the viewport.
      o The available color attributes depend on your graphics adapter and the
        screen mode set by the most recent SCREEN statement.

DESCRIPTION
  Defines the size and location of a viewport where graphics can be displayed
  on the screen.

  Example:
      'This example requires a color graphics adapter.
      SCREEN 1
      VIEW (10, 10)-(300, 180), , 1
      LOCATE 1, 11: PRINT "A big graphics viewport";
      VIEW SCREEN (80, 80)-(200, 125), , 1
      LOCATE 11, 11: PRINT "A small graphics viewport";

SEE ALSO
  CLS SCREEN Statement VIEW PRINT WINDOW Color Attributes Screen Modes