Basic
VIEW
[SCREEN]
[(xl
,yl)-(x2,y2)[,[color][,[border]]]]
Graphics. Creates a rectangular viewport that redefines the screen
parameters. This defined area, a window, becomes the only place
in which
you
can draw graphic displays.
(x2,yl)
specifies the upper-left corner of the viewport.
(xZ,y2)
specifies the lower-right corner of the viewport.
SCREEN specifies that all coordinates used in drawing are absolute
to point
0,0
on the screen. If
you
omit SCREEN, all coordinates
specified are relative to the viewport coordinates.
VIEW
(1
0,181
-(I
00,100)
VIEW
SCREEN
(20,251- (1 00,150)
VIEW PRINT
top
line
TO
bottom line
Creates a text viewport that redefines the text screen parameters.
Top line
specifies the first line of the text viewport. It may be in
in the range
1
to
24,
but must be less than
bottom line.
Default
=
Line
1.
Bottom line
specifies the last line of the text viewport.
It
may be
in the range
1
to
24,
but must be greater than
top
line.
Default
=
Line
24.
VIEW
1
TO
15
WAIT
port, number1 [,number21
Suspends program execution until a machine input
port
develops a
specified bit pattern.
Number1
and
number2
are integers in the range
0
to
255.
WAIT
32,2
70
Tandy
1000