HP Business BASIC/XL Reference Manual - HP 3000 MPE/iX Computer Systems - Edition 1 (32715-90001)
2-: 4
The commands in the RUNHELLO file are executed by HP Business BASIC/XL's
interpreter. In response to the RUN command, "HELLO" is printed on the
terminal's screen. Incorporating the command into a stream job has the
same effect.
Redirecting BASCOM, BASIN, and BASOUT is useful when running stream
jobs.
Any of the file parameters can be specified by a local file equate
statement.
The HELLO program can be run by typing the following commands in response
to the operating system prompt or by including the commands in a stream
file, as illustrated below:
FILE BASCOM = RUNHELLO
RUN HPBBXL.PUB.SYS;PARM=1
The Current Program in the Interpreter
Within the interpreter, the program being created, modified, executed,
or debugged resides in the interpreter's work space. This program is
referred to as the current program.
The current program can be permanently saved in a disk file by using the
SAVE and RESAVE commands. The GET command is used to read the contents
of a permanent disk file into the interpreter's work space.
Line Ranges
Many commands and statements in this chapter operate on ranges of pro-
gram lines. In syntax specifications,
line_range
is a range of lines
and
line_range_list
is a list of line ranges.
The syntax of
line_range_list
is shown below.
Syntax
line_range
[,
line_range
]...
Parameters
line_range
One of the following:
ALL
su_spec
ln_spec1
[/
ln_spec2
]
ALL All program lines. In a command or statement where
line_range
or
line_range_list
is optional, ALL is the
default unless otherwise specified.
su_spec
One of the following program unit specifiers:
SUB
sub_id
Range is all of
sub_id
, which
must exist.