Retyping - IBM 5150 Manual To Operations

Hide thumbs Also See for 5150:
Table of Contents

Advertisement

Assume that we wanted the numbers to be printed on one
line, instead of on three. A semicolon (;) added to the
end of both lines 10 and 20 would make the program do
this.
We'll show you two different ways of making these
",-........
changes-retyping and the Edit command.
Retyping
If you type a BASIC statement that has the same line
number as a line in the program in memory, that line is
replaced with the new line as soon as you press the
Enter key.
For example, to change line 1 0, after the BASIC prompt,
Ok, type:
1 0
print
1; . . . . . . . I -----Note that there's now a
semicolon at the end of the
line.
and press the Enter key.
Now list the program (type list and press Enter). Verify
that the original line has been replaced by the one with
the semicolon.
(If
you want, you can also type
run
and see what the
program does now.)
The retyping method is most useful when the statement
needs a lot of changing.
BASIC 3-24

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents