RUN or VIEW with no arguments define the entire screen as the viewport.
(x1,y1) are the upper-left coordinates.
(x2,y2) are the lower-right coordinates.
The fill attribute lets you fill the view area with color.
The border attribute lets you draw a line surrounding the viewport if space for a border is available. If border is omitted, no border is drawn.
The xand ycoordinates must be within the physical bounds of the screen and define the rectangle within the screen that graphics map into. The xand ycoordinate pairs will be sorted, with the smallest values placed first.
Points are plotted relative to the viewpoint if the screen argument is omitted; that is, x1and y1are added to the xand ycoordinates before the point is plotted.
It is possible to have a varied number of pairs of xand y. The only restriction is that x1cannot equal x2, and y1cannot equal y2.
Points are plotted absolutely if the SCREEN argument is present. Only points within the current viewpoint will be plotted.
When using VIEW, the CLS statement clears only the current viewport. To clear the entire screen, you must use VIEW to disable the viewports. Then use CLS to clear the screen. CLS does not move the cursor to home. Press CTRL-HOME to send the cursor home, and clear the screen.
The following defines a viewport such that the statement PSET(0,0),3 would set down a point at the physical screen location 10,10.
VIEW (10, 10)-(200, 100)
The following defines a viewport such that the point designated by the statement PSET(0,0),3 would not appear because 0,0 is outside of the viewport. PSET(10,10),3 would be within the viewport.
All Frank Sinatra recordings, All Beatles albums, All solo albums from John Lennon, Paul McCartney, George Harrison and Ringo Starr, All Beatles songs, List of Platinum selling albums, Database with hits from 1950 to 1999.
Sought after DLL files, Nutworks magazine (retro), Worldwide ISO and TLD codes, File extensions database, The Hackers dictionary, Free software for the Atari, Amiga and Macintosh, Nokia smartphone, PocketPC, List of all BASIC programming language commands, List of all DOS commands, Free Advanced Bash-Scripting Guide (Linux-Unix)