EasyManua.ls Logo

Radio Shack TRS-80 - Page 65

Radio Shack TRS-80
236 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
Loading...
10
A
=
1
20 B
=
2
30
C=3
40 D=4
50
E
=
5
60 F
=
6
70
G
=
7
80
H=8
90
1=9
100
J=10
200
PRINT
"A"
;
TAB
(50)
;
"B"
;
TAB
C
10)
;
m
C"
;
TAB
(
15) ;
"D"
;
210 PRINT TAB
C 20
)
;
"
E
"
;
TAB
( 2
5
) ;
"
F
"
j
TAB
(
30
)
j
"
G
"
;
220 PRINT
TAB( 35
)
;
"h" ;
TAB ( 40
)
j
"
I
M
;TAB(
45)
;
"
J
"
300 PRINT A;TAB(5
)
;B;TAB(
10)
;C;TAB(
15) ;D;TAB(20>
;
310
PRINT
E
;TAB( 25
)
;
F;TAB(
30) ; G;TAB( 35
)
;
H
; TAB (
40
)
;
320
PRINT I
t
TAB(
45
)
;
J
It's the trailing
semicolon
(;)
that
does
the trick. It makes the end of one
PRINT
line con-
tinue right on to the next
PRINT
line without activating
a carriage return.
The combination
of
TAB
and trailing
semicolon allows you almost infinite flexibility in
formatting
the
output.
Multiple
Statement
Lines
As our
parting
shot in this easy
lesson,
we're
going
to have a sneak preview of
what's
ahead.
Replace lines
10 through 100 with
the
following:
10
A=l
:B
=
2!C
=
3rD
=
4!E
=
5:F
=
6:G
=
7:H
=
8:I=9:J=10
63

Other manuals for Radio Shack TRS-80

Related product manuals