
Program Editing - 4
R Replace
The Replace command does a delete and insert on a character basis. For example:
EDIT 10
10 PRINT "This is";:PRINT" a sample edit"
10 _
Now press the < SPC> until the cursor is under the “a” in sample.
10 PRINT "This is";:PRINT" a sample edit"
10 PRINT "This is";:PRINT" a s_
Type < R> and then < I> . You have replaced the “a” with an “I”. Finally, type < ENTER> .
10 PRINT "This is";:PRINT" a sample edit"
10 PRINT "This is";:PRINT" a si
10 PRINT "This is";:PRINT" a simple edit"
If you change your mind in the middle of a Replace, you can exit by pressing < ESC>
X Extend The Line
To add more to the end of an existing line type < X> . This com mand moves the cursor to the next
character past the end of the line and enters the Insert Mode.
The cur sor will ch ange from the underline to the block. You may now inse rt test.
Comentários a estes Manuais