A Closer Look At Listing A Program - HP 9000 200 Series Manual

Using the basic 5.0/5.1 system
Table of Contents

Advertisement

A Closer Look at Listing a Program
All or part of your program can be displayed or printed by executing a LIST statement
l
.
The LIST statement allows parameters that specify both the range of lines to be listed
and the device to which the listing should be sent.
If the keyword LIST is executed without any parameters. the assumed action is to list
the entire program on the system printer.
LIST
The default system printer after a power-on or SCRATCH A is the CRT. (The system
printer is defined by the PRINTER IS statement.)
Starting and ending linC' numbers can be spC'cified in t hC' LIST statement. For example.
the following command lists lines 100 through 200, inclusively.
LIST 100,200
The following example lists the last portion of the program, from line 1850 to the end.
LIST 1850
The line identifiers can also be labels. For instance. the following command lists the
program from the line labeled "Rocket" to the end.
LIST Rocket
1
The EDIT binary must be loaded in order to use the LIST statement and not get the message
(Requires
EDIT binary).
6-16
Editing and Storing Program;;;

Advertisement

Table of Contents
loading

This manual is also suitable for:

9000 300 series

Table of Contents