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 #107 background imageLoading...
Page #107 background image
Experiment
#2
Printing Text Anywhere On The LCD
The
PRINT
@ (PRINT AT) statement allows printing
of
text in any
of
320 positions
on the display. These positions correspond to eight 40 character lines as illustrated in
the table below:
Columns
1
2 3
4
...
....
39 40
Line 1
0
1 2 3
....
·
..
38
39
Line 2 40
41
42 43
....
·
..
78 79
Line 3
80
81
82
83
....
·
..
118
119
Line 8
280
281
282 283
....
·
..
318
319
Table 8-1.
of PRINT @ positions
Clear the display and print the name
"RADIO
SHACK" in the center
of
the display
by entering:
CLS
(ENTER)
PRINT @ 135, "RADIO SHACK"
(ENTER)
You should see:
Ok
PRINT
@
135,
IIRADIO
SHACK
II
RADIO
SHACK
Ok
Note that the name
"RADIO
SHACK" begins printing in the 15th column
of
line 4.
The PRINT@ position would be computed as:
40
* (4 - 1) +
15
= 135.
In general, to print in line L and column C, use PRINT@ position
40 * (L -
1)
+ C
101

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