Running A Basic Program; Running The Samples Program - IBM 5150 Manual To Operations

Hide thumbs Also See for 5150:
Table of Contents

Advertisement

Running a BASIC Program
Two steps are involved with running a BASIC program
that you have on a diskette.
The first step is getting a copy of the program transferred
from the diskette into the computer's memory. This is
called loading the program and is done (appropriately
enough) with a LOAD command.
The second step is the actual performance of the
program's instructions-running or executing the program.
The command used to do this is RUN.
Let's go through this sequence looking at the SAMPLES
program that is on your DOS Diskette. You can do it
now.
Running the SAMPLES Program
1
Make sure DOS is ready and
A>
is displayed.
2
Insert the DOS Diskette into drive A: if it is not already
there.
3
Type this:
basic
and press the Enter key.
4
You'll see the BASIC prompt, Ok.
Now type this:
load "samples
and press the Enter key.
(Or you can do it with the FI function key like this:
Press: FI
Type: samples
Press: Enter key
Try it this way next time.)
BASIC 3-9

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents