AT&T 6300 Programmer's Manual page 493

Gwbasic by microsoft
Hide thumbs Also See for 6300:
Table of Contents

Advertisement

VIEW
Statement
For the form:
VIEW SCREEN (x1,y1)-(x2,y2)
all coordinates are absolute and may be inside
or outside of the screen limits, but only those
within the VIEW limits will be
plotted~
If:
VIEW SCREEN (10,10)-(200,100)
were executed, then the point set down by the
statement PSET(0,0),3 would actually not
appear because 0,0 is outside of the viewport.
PSET(10,10),3 is within the viewport, and
places the point in the upper-left hand corner
of the viewport.
VIEW with no arguments defines the entire
viewing surface as the viewport. This is
equivalent to VIEW (0,0)-(319,199) in medium
resolution, VIEW (0,0)-(639,199) in high
resolution, and VIEW (0,0)-(639,399) in super
resolution.
Multiple viewports can be defined, but only
one viewport (called the "current viewport")
may be active at anyone time. Each time a
VIEW statement is executed a viewport is
defined and this is the current viewport. Thus,
to change the current viewport, you have to
execute another VIEW statement.
7-337

Advertisement

Table of Contents
loading

Table of Contents