EasyManua.ls Logo

Radio Shack TRS-80 Model 4 - Page 148

Radio Shack TRS-80 Model 4
418 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...
Insert
Subcommand
Mode
The insert subcommand mode allows you to add material to a line
while editing
it.
The three keys you can use to enter this subcommand
mode are
X,
I and
H.
X
(Extend
Line)
Displays the rest of the current line. Typing
00
also moves the cursor
to the end of the line and puts the computer
in
the insert
subcommand mode. This enables you to add material to the end of
the line.
For example, using line
100, when the display shows
100
press
00
(without pressing
(ENTER))
and the entire line
is
displayed;
notice that the cursor now follows the last character on the line:
100
FOR
I = 1
TO
10
STEP
.5:
PRINT
I,
1"'2,
1"'3:
NE){T
We can now add another statement to the line, or delete material
from the line by using the
8 key. For example, type
~
PRINT
"DONE"
(ENTER)
at the end of the line. If you typed:
LIST
100
the display should show something like this:
100
FOR
1=
1
TO
10
STEP
.5:
PRINT
It
1"'2,
1"'3:
NEXT:
PRINT
"DONE"
NOTE:
If
you want to continue editing the line, press
(SHIFTlCI]
to get
out of the insert subcommand mode.
I (Insert)
Inserts material beginning at the current cursor position on the line.
For example, type
EDIT
100
(ENTER)
then use the space bar to move over to the decimal point
in
line 100.
The display shows:
100
FOR
I = 1
TO
10
STEP
Suppose you want to change the increment from
.5
to .25. Press the
rn key (don't press
(ENTER)).
The computer lets you insert material at
2-19

Other manuals for Radio Shack TRS-80 Model 4

Related product manuals