HP Business BASIC/XL Reference Manual - HP 3000 MPE/iX Computer Systems - Edition 1 (32715-90001)
2-: 2
NOTE In the examples in this chapter, user input is underlined. User
input ends with RETURN unless otherwise specified. In some
examples, RETURN is shown to clarify that example.
The Interpreter
Typing the command BBXL in response to the operating system prompt will
run the interpreter. You can use options to specify a file from which
input will be read or a file to which output will be written or both.
You can also use a file which contains commands to be executed by the
interpreter, called a command file.
Syntax
BBXL [
cfile
[,
ifile
[,
ofile
[,
xlfile
]]]]
Parameters
cfile
Command file which can contain both commands and program
lines. The command file
cfile
must be an ASCII file.
Its formal file name is BASCOM and its default
assignment is $STDINX.
ifile
HP Business BASIC/XL program input file which contains
data for INPUT statements. The input file
ifile
must be
an ASCII file. Its formal file name is BASIN and its
default assignment is $STDINX.
ofile
HP Business BASIC/XL program output file, that the PRINT
statement sends output to. The output file
ofile
must
be an ASCII file. Its formal file name is BASOUT and
its default assignment is $STDLIST.
xlfile
The
xlfile
parameter specifies one or more executable
libraries to the interpreter. A single library may be
referenced by entering the fully qualified library file
name. Two or more libraries may be referenced by
enclosing the list of libraries in quotes, separating
each name with commas, semicolons, or spaces.
Examples
The first example below uses a command file called Command, and uses the
executable libraries Lib.Pub.Sys and Mylib in the log on group and
account. The second example specifies an input file (Infil) and an
output file (Outfil).
BBXL Command,,,"Lib.Pub.Sys,Mylib.!hpgroup.!hpacct"