BBXL



BBXL

     Initiates the execution of the HP Business BASIC/XL
interpreter. Business BASIC/XL is not part of the 900
Series HP 3000 Computer System Fundamental Operating
Software and must be purchased separately.

SYNTAX

     BBXL [commandfile][,[inputfile][,[listfile]]]
[;XL=xllist]

NOTE

This command follows the more flexible MPE/iX command line syntax.

PARAMETERS

commandfile         The actual file designator of an ASCII file that
contains a set of BASIC/XL commands and/or
statements. The formal file designator is BASCOM.
Default is $STDINX.

inputfile Actual file designator of the file containing data
input for a BASIC/XL program. The formal file
designator is BASIN. Default is $STDINX.

listfile Actual file designator of the destination file for
the program listing and output. This can be any
ASCII output file. Formal file designator is
BASOUT. Default is $STDLIST.

xllist A quoted list of the executable libraries that
are searched when resolving external procedure
references during execution of the user's program.

NOTE

The formal file designators used in this command (BASCOM, BASIN, and
BASOUT) cannot be backreferenced as actual file designators in the
command parameter list. For further information, refer to the
"IMPLICIT FILE COMMANDS FOR SUBSYSTEMS" discussion of the MPE/iX
FILE command.

OPERATION

     The BBXL command is generally used for online programming in
BASIC/XL, but it can also be used to interpret BASIC/XL programs
in batch mode. In batch mode, the BASIC/XL >EXIT OR >:: command
is required as the last statement in the commandfile. Additional
information concerning Business BASIC/XL is available from within
the interpreter in its own online HELP facility.

This command may be issued from a session, job, or program.
It may not be used in BREAK. Pressing [Break] suspends the
execution of this command. Entering RESUME continues the execution.

EXAMPLE(S)

     To enter commands and data from your standard input device,
with program listing and output transmitted to the standard
output device (both are usually an interactive terminal), enter:

BBXL

You may also enter commands and statements to the BBXL
interpreter by using input files that you have stored on
disk. Files created using the EDITOR must be kept with the
UNN (unnumbered) option of the editor's KEEP command. In the
next example, BASIC/XL interpreter commands and statements are
entered from the command file MYCOMDS. The data that the
program uses is stored in the input file MYDATA. The
program listing and output are written to the file MYLIST.

BBXL MYCOMDS,MYDATA,MYLIST

If you have compiled a number of library procedures into an
executable library named MYXL.TEST.BASIC and wish to reference
these in a program in the interpreter, you would enter:

BBXL XL='MYXL.TEST.BASIC'

Appropriate EXTERNAL and/or INTRINSIC statements in your
program are used to define the formal parameters, and an
alias, if required, for the external procedure in the
executable library.

NOTE

This command is implemented as a command file.  If you set the HPPATH
variable to null (:SETVAR HPPATH ""), the command file will not be
executed, and the command will fail.

ADDITIONAL INFORMATION

Commands:   BBXLCOMP, BBXLGO, BBXLLK

Manuals :   HP Business BASIC/XL Migration Guide (32715-60002)
            HP Business BASIC/XL Reference Manual (32715-60001)