Listing The Program; Storing The Program; Running The Program - HP 9000 200 Series Manual

Using the basic 5.0/5.1 system
Table of Contents

Advertisement

Listing the Program
List the program by executing the following command! (which also gets you out of EDIT
mode, if you have not already terminated it in one of the other ways described in the
preceding section):
LIST
I
Return
I
The system lists the program on the screen (or whichever device is the current PRINTER
IS device).
10 DISP "Short program."
20
END
Storing the Program
You can store the above program, for instance, in the file named "MyProg" on the default
volume by executing this statement:
STORE "MyProg"
I
Return
I
You can also use the SAVE statement, which stores the line in an ASCII representation
(rather than in an "internal" representation; see "A Closer Look at Storing Programs"
for details.)
Running the Program
N ow run the program by typing:
RUN
I
Return
I
or pressing the
I
RUN
I
key
(00 in the System or in a User menu of ITF keyboards).
The computer should display the following message on the CRT display (or current
system display device):
Short program.
Further information about running programs in described in the "Loading and Running
Programs" chapter.
The next sections describe additional editor and system features.
1
The EDIT binary must be loaded in order to use LIST and EDIT.
Editing and Storing Programs
6-13

Advertisement

Table of Contents
loading

This manual is also suitable for:

9000 300 series

Table of Contents