EasyManua.ls Logo

Radio Shack TRS-80 Model 4 - Page 149

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...
the current position. Type 2 now, and the display shows:
100
FOR
1=
1
TO
10
STEP
.2
You have made the necessary change,
so
press (SHIFTJrn
to
escape
from the insert subcommand. Now press
CD
to
display the remainder
of the line
and
move the cursor back to the beginning of the line:
100
FOR
I = 1
TO
10
STEP
.25:
PRINT
I,
I~2,
1"'3:
NE){T:
PRINT
"DONE"
100
NOTE: You can also exit the insert subcommand and save all
changes
by
pressing
(ENTER).
This returns you to command mode,
H
(Hack
and
Insert)
Deletes the remainder of a line and lets you insert material at the
current cursor position.
For example, using line
100, enter the edit mode and space over until
just before the PRINT "DONE" statement. Suppose you wanted to
delete this statement and insert
an
END statement. The display
shows:
100
FOR
I = 1
TO
10
STEP
.25:
PRINT
I,
1"'2,
1"'3:
NE){T:
Press 00, then type END and press
(ENTERl.
List the line:
100
FOR
I = 1
TO
10
STEP
.25:
PRINT
I,
1"'2,
I'"
3:
NE){T:
END
should be displayed.
NOTE: To continue editing the line, press
(SHIFTlrn to get out of the
insert subcommand mode.
A
(Cancel
and
Restart)
Moves the cursor back
to
the beginning of the program line and
cancels editing changes already made.
For example, if you have added, deleted, or changed something
in
a
line, and you wish
to
go back
to
the beginning of the line and cancel
the changes already made: first press
(SHIFTlrn (to escape from any
subcommand
you
may
be
executing); then press
W.
The cursor
drops down
to
the next line, displays the line number and moves to
the first character position.
E
(Save
Changes
and
Exit)
Ends editing and saves
all
changes made. You must be
in
edit mode,
not executing any subcommand, when you press
CD
to end editing.
2-20

Other manuals for Radio Shack TRS-80 Model 4

Related product manuals