TRS-SO MODEL III
nD (Delete)
Tells Computerto delete the specified number n characters to the right
of
the
cursor. The deleted characters will be enclosed in exclamation marks to show you
which characters were affected. Forexample, using line 100, space overto the
PRINTcommand statement:
100
FOR
1=1
TO
10 STEP .25
:11
Now type 19D. This tells the Computerto delete
19
characters to the right
of
the
cursor.
The
display should show something like this:
100
FOR
1=1
TO 10STEP .25: !PRINT
I,
I !2, I
[3
:!II
Whenyou list the complete line,
you'll
see that the PRINT statement has been
deleted.
nC (Change)
Tells the Computerto let you change the specified number
of
characters beginning
at the current cursorposition.
If
you type C without a preceding number, the
Computerassurnes you want to change one character. When you have entered
n
number
of
characters, the Computerreturns you to the Edit Mode (so
you're
not in
the
nC Subcomrnand).
For
example, using line 100, suppose you want to change
the final value
of
the FOR-NEXT loop, from"
10"
to
"15".
In the Edit Mode, space
overto
just
before
the"
0"
in
"10"
.
1
00
FOR
1=1
TO
111I
Now type C. Computer will assume you want to changejust one character. Type
5,
then hit L.
When
you list the line,
you'll
see that the changehas been made.
100
FOR
1= 1
TO
15 STEP .25: NEXT:
END
would be the current line
if
you've
followed the editing sequence in this chapter.
The
8 does not work as a backspace underthe C cOllunand in Edit mode. Instead, it
replaces the character
you
want to changewith a backspace. So it should not be
used.
If
you make a mistake while typing in a change, Edit the line again to correct
it, instead
of
using
8.
9/6