SmallBASIC syntax groups: 

Graphics command VIEW

20  VIEW [x1,y1,x2,y2 [,color [,border-color]]]
Defines a viewport. The viewport defined by VIEW is disabled by a VIEW command with no parameters.

See examples

If there is insufficient information on this page and you wish learn more about VIEW, please send an email to You can help to improve information about VIEW by submitting an article using the comments link below. Note, an offline language reference text file is now avialable – see the Download section.

  • x1,y1,x2,y2 – Corner coordinates of the viewport.
  • color If included, fills the viewport with the specified color.
  • border-color If included, draws a border, in a specified color, around the defined viewport.