EasyManuals Logo

Radio Shack TRS-80 Model 100 User Manual

Radio Shack TRS-80 Model 100
210 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #108 background imageLoading...
Page #108 background image
You can print text
in
any order
as
well
as
any position using the PRINT@ statement,
as
illustrated in the following example. Enter the commands:
CLS:FORX= 280T035STEP·35:PRINT@X,"·";:NEXTX
You should see the asterisks (*) spaced diagonally
On
the display
as
shown below:
Ok
*
*
*
*
-11:.
*
*
*
Notice that the printing started at the bottom and proceeded
to
the top.
You should experiment with printing text at various locations on the display until you
feel comfortable with the PRINT@ numbering scheme.
Experiment
#3
Drawing Coordinate Axes
This experiment will show you how
to
draw standard
X-
Y type axes which will allow
sales data to be plotted
in
graph form. Enter the following program:
50
CLS
100
LINE(238t54)-(33t54)
150
LINE
-(33t0)
Execute this program. You should see a pair
of
axes displayed:
Line 58 This statement clears the display.
Line
lee
The horizontal axis
is
drawn from right
to
left.
Line 158 The vertical axis
is
drawn from bottom
to
top. Note that the LINE statement
contains only one coordinate, - (33,0). This illustrates another form of the LINE
statement which assumes that the first coordinate
is
the same
as
the last cell referenced
in a LINE, PSET or PRESET statement. In this case, the last cell referenced was
(33,54) and is used
as
the beginning cell for the vertical line.
102

Other manuals for Radio Shack TRS-80 Model 100

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Radio Shack TRS-80 Model 100 and is the answer not in the manual?

Radio Shack TRS-80 Model 100 Specifications

General IconGeneral
BrandRadio Shack
ModelTRS-80 Model 100
CategoryDesktop
LanguageEnglish

Related product manuals