Radio Shack TRS-80 Operation Manual page 54

Hide thumbs Also See for TRS-80:
Table of Contents

Advertisement

Computer Graphics
Operation Manual
- - - - - - - - - - - TRS-BO
® - - - - - - - - . - -
statement's parameters is stored in the array (line
3~).
4. The screen is cleared (line
5~).
5. PUT -- The circle from the array was PUT into the
destination rectangular pixel area as specified in the
PUT statement (line
6~)
with the PSET option.
l~
DIM
V%(7~~)
2~
LINE
(2~,2~)-(2~,8~)
3~
LINE
(8~,~)-(8~,8~)
4~
LINE
(3~,3~)-(3~,8~)
5~
LINE
(1~,5)-(1~,8~)
6~
GET
(~,~)-(l~~,l~~),V%
7~
FOR I=l TO
l~~~:
NEXT I
8~
PUT
(18~,12~),V%,PSET
9~
FOR I=l TO
l~~~:
NEXT I
Draws four lines.
GET stores the lines in the rectangular
pixel area.
PUT moves the lines to another rectangular
pixel area.
SCREEN
Selects Screen
SCREEN lets you set the proper screen. SCREEN
~
selects the
Graphics Screen; SCREEN 1 selects the Text Screen. Any value
other than
~
or 1 with SCREEN gives an error.
SCREEN is convenient to use when you want to display either
a Graphics Screen or a Text Screen. For example, you may
have run a program and then added to it. with SCREEN, you
can remove the graphics display, add to the program, and
then return to the Graphics Screen.
Whenever BASICG tries to display a character on the Text
Screen (like in an INPUT or PRINT statement), the screen is
- - - - - - - - - - l I a d I 8 I h a e l l - - - - - - - - - -
-52-

Advertisement

Table of Contents
loading

Table of Contents