EasyManua.ls Logo

Radio Shack TRS-80 Model III - Page 208

Radio Shack TRS-80 Model III
274 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...
TRS-80
MODEL
III
X (Extend Line)
Causes
the rest of the
current line to be
displayed, moves
cursor to end of line,
and
puts Computer in the
Insert subcommand
mode so you can
add material to the
end
of the line.
For example,
using
line 100,
when the
Display shows
100«
hit X
(without hitting
(ENTER) )and the entire
line will be
displayed; notice
that the
cursor now follows the
last character on the line:
100FORI
=
1TO10STEP.5:PRINTI,l
[2,
1
[3:NEXTb
We can now add
another
statement to
the line,
or
delete
material
from the
line
by
using the
QD
key.
For
example, type
:PRINT"DONE'
'
at
the end
of the
line.
Now
hit
(ENTER) . If you now
type LIST 100,
the
Display
should
show
something
like
this:
100
FOR
1
=
1 TO 1
STEP .5:
PRINT
1
,1
[
2,
1
[3:NEXT:PRINT "DONE"
I (Insert)
Allows you to
insert material beginning
at the
current cursor position on
the line.
(Hitting
CD
will
actually
delete material
from
the line
in this
mode.)
For
example,
type and
(ENTER) the
EDIT 100
command,
then
use the
Space
Bar to
move
over to the
decimal
point in line
100. The
Display
will show:
100FORI
=
1TO10STEP.«
Suppose you
want to change the
increment
from
.
5 to . 25
.
Hit the I key (don
'
t
hit
(ENTER)
)
and
the Computer will now
let you
insert material at the
current position.
Now
hit
2 so
the Display shows:
100FORI
=
1TO10STEP.2b
You've
made the
necessary change, so
hit (SHIFT)
QD
to escape
from the Insert
Subcommand
.
Now hit L key
to display
remainder of line
and
move cursor back to
the beginning of
the line:
100 FOR
1
=
1 TO
10 STEP .25:
PRINT I, I
[
2,
1
[3
:NEXT:
PRINT "DONE"
100b
You can
also exit the Insert
subcommand
and save all
changes by hitting (ENTER) .
This will return you to Command
mode.
198

Other manuals for Radio Shack TRS-80 Model III

Related product manuals