EasyManua.ls Logo

Apple IIe - Page 42

Apple IIe
320 pages
Print Icon
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...
42
Apple
lie
Users
Handbook
Adding
program
lines
to
a
program
stored in
RAM
is
very easy.
Just
type in
the
line
number
followed
by
the
program
line. The
line
will
be inserted in
the
program
in
the
position
indicated
by
its
line
number.
For eicample, by
adding
the
following
line
to
the
program
in lllustratio'n 3-1:
35
PRINT "216-777-5579"
the
phone
number
for
Jim Smith
will
be displayed
on
the
line
following
his city, state, and zip.
Program lines can be
deleted
by
typing
the
line
number
to
be
deleted
followed
by
Return. For example,
the
following
entry:
30
would
result in
line
30
being
deleted.
Program lines can be changed by
merely
retyping
the
new
line
.
The existing
line
in
the
lle's
memory
will
be replaced
with
the
new
line. For example,
the
following
entry:
10 PRINT
"THOMAS
HILL"
would
result in
"THOMAS
HILL"
being
output
rather than
"JIM
SMITH"
in
the
program
Illustration 3-1.
NEW Command
You may have
noticed
the
execution
of
the
NEW
command
in
Illustration
3-1. The NEW
command
is
used
to
erase an
old
program
from
memory
before
a
new
one
is
typed
in.
The
lie
can
only
store
one
program
in
RAM
rat any
one
time.
If
you
attempt
to
enter
a
new
program
while
another
program
is
already stored in
RAM,
the
new
program
will
be merged
with
the
existing
program.
END Statement
Notice
the
last
line
in
the
program
in
Illustration
3-1 . That
line
consists
only
of
the
line
number
plus
the
BASIC reserved
word
END.

Other manuals for Apple IIe

Related product manuals