EasyManuals Logo
Home>IBM>Desktop>5150

IBM 5150 User Manual

IBM 5150
252 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #184 background imageLoading...
Page #184 background image
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

Table of Contents

Other manuals for IBM 5150

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the IBM 5150 and is the answer not in the manual?

IBM 5150 Specifications

General IconGeneral
BrandIBM
Model5150
CategoryDesktop
LanguageEnglish

Related product manuals