advr.hlp (Topic list)
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.
VIEW Statement Details
  ◄Summary►  ◄Details►  ◄Example►                ◄Contents►  ◄Index►  ◄Back►
──────────────────────────────────────────────────────────────────────────────
 VIEW [[SCREEN] (x1!,y1!)-(x2!,y2!) [,[color%] [,border&]]]
 
 Usage Notes
   ■ You must be in a graphics screen mode (for example, screen mode 1) to
     use the VIEW statement; otherwise, Visual Basic may generate the error
     message, "Illegal function call." See: ◄SCREEN Statement►
 
   ■ The available color attributes for VIEW depend on your graphics adapter
     and the screen mode set by the most recent SCREEN statement.
     See: ◄Adapters and Displays►
 
   ■ If SCREEN is omitted, all points are plotted relative to the viewport.
 
   ■ The argument (x1!,y1!)-(x2!,y2!) must be within the physical bounds of
     the screen in the current screen mode.
 
   ■ If color% is omitted, the viewport area is not filled - that is, it has
     the same color as the screen background color.
 
   ■ If border& is omitted, no line is drawn around the viewport.
 
   ■ If VIEW is used with no arguments, the entire screen is defined as the
     viewport. RUN and SCREEN also define the entire screen as the viewport.
     See: ◄RUN Statement►  ◄SCREEN Statement►