HP Business BASIC/XL Reference Manual - HP 3000 MPE/iX Computer Systems - Edition 1 (32715-90001)

2-: 3
BBXL ,Infil,Outfil
HP Business BASIC/XL can also be run as a program using the following
syntax:
RUN HPBBXL.PUB.SYS [;PARM=
n
]
The PARM option is used to specify two things to the interpreter:
1. How much space the interpreter should reserve for representing the
currently-executing subunit.
2. Which of the BASCOM, BASIN, or BASOUT files has been respecified
using a file equate.
n
specifies which of the parameters have
been redefined. The following are the values of
n
:
0 No redefinition of the files.
1 BASCOM has been redefined.
2 BASIN has been redefined.
3 BASCOM and BASIN have been redefined.
4 BASOUT has been redefined.
5 BASCOM and BASOUT have been redefined.
6 BASIN and BASOUT have been redefined.
7 BASCOM, BASIN, and BASOUT have been redefined.
To set both of these parameters on the same run of the interpreter, add
the two values together and use their sum as the PARM value.
Consider the following two files (HELLO and RUNHELLO) in the following
example:
The HELLO file contains the HP Business BASIC/XL program:
10 PRINT "HELLO"
The RUNHELLO file contains the commands:
GET HELLO
RUN
EXIT
You can run the HELLO program by typing in the following command in
response to the operating system prompt:
BBXL RUNHELLO