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 #182 background imageLoading...
Page #182 background image
Storing
Your
BASIC
Program
Before we start making changes to this program, let's
store it on a diskette. Right now, while it
is
the current
program
(that
is,
the
one in memory), every time
you
type RUN, the program will be executed.
If
you
want
to~
be able
to
run this program after
you
load and run some
other
programs, however,
you
must have
it
stored on a
diskette.
Let's assume we
want
to
call this program ORIG 123
(which stands for "Original 123
").
Here
is
how
you
save
it:
1 Make sure Disk BASIC or Advanced BASIC
is
ready-Ok
is
displayed.
2 Insert a diskette into drive A:. (The diskette should have
been formatted already and have space on it.)
3 Type this:
save
"orig123
and press Enter.
4 The program
is
stored
on
the
diskette in drive
A:
with
the filename ORIG 123 and the extension
.BAS.BASIC
assigns
that
extension because
we
did
not
specify one.
Now
you
can LOAD
"ORIG
123"
and RUN
it
just
as we
showed
you
with
the
BOWLING program (see
"Running
a BASIC Program on
Another
Diskette").
Changing
Your
BASIC
Program
To change a program, we first need to know
what
statements in the program are; and then, knowing
that,
~
make the changes
to
particular statements as necessary.
BASIC
3-22

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