BASIC
23/Editing
You
have probably
found
it is very time consuming
to retype long
program
lines,
simply
because
of
a typo,
or
maybejust
to
make
a small change.
Model
111 editing
features
eliminate much
of
this extra work.
In
fact,
it's
so easy to
alterprogram
lines, you' 11 probably want to experiment with
multi-statement
lines,
complex expressions,
etc.
Commands,
subcommands,
and special
function
keys described in
this chapter:
n(E
«CD
«d>
nQDc
EDIT
CD
(ENTER)
(X)
^SPACEBAR)
QD
n
©
(B
(SHIFT)!*)
CD
CE
m
EDIT
line
number
This command
puts you in the Edit Mode.
You must specify which
line you wish
to
edit, in
one of two ways:
EDIT
line-number
Lets you edit
the specified line.
If line number
is not in
use
,
or
an
FC error occurs
EDIT.
Lets you edit the current
pro-
gram line
—
last
line entered
or
altered or in which
an error has
occurred.
For
example, type in and
(ENTER) the following line:
100FORI
=
I
TO 10 STEP .5: PRINT I, I
2,
1
[3:NEXT
\
This line will
be used in exercising all the Edit
subcommands
described below.
Now type
EDIT 100 and hit
(ENTER) . The Computer will display:
100b
You are now in
the Edit Mode and
may begin editing line
100.
195