BBXLLK



BBXLLK

     Compiles and links an HP Business BASIC/XL program.  HP
Business BASIC/XL is not part of the 900 Series HP 3000
Computer System Fundamental Operating Software and must be
purchased separately.

SYNTAX

     BBXLLK textfile[,[progfile][,listfile]]

PARAMETERS

textfile            Actual file designator of the BASIC SAVE file (file
code=1247 or BSVXL) containing the BASIC/XL program
to be compiled. Formal file designator is BBCIN.

progfile Actual file designator of the program file to which
the LinkEditor writes the linked program. If you do
not specify progfile, the default is $NEWPASS, which
is closed as $OLDPASS.

listfile Actual file designator of the file on which the
program listing is written. This can be any ASCII
output file. Formal file designator is BBCLIST. If
you do not specify listfile, the default is $STDLIST.

NOTE

The formal file designators used in this command (BBCIN and BBCLIST)
cannot be backreferenced as actual file designators in the command
parameter list. For further information, refer to the IMPLICIT
subentry in the FILE entry of the Help Facility.

OPERATION

     The BBXLLK command compiles and links a source program
stored in a BASIC SAVE file generated by the BASIC/XL
interpreter. If you omit the progfile parameter, the
linked program is written to the system-defined temporary
file $OLDPASS. If you want to save the linked program in
a file other than $OLDPASS, you may either create a file
and specify the file name on the BBXLLK command line, or
specify a nonexistent progfile.

Create a BASIC SAVE program from within the BASIC/XL
interpreter by using the BASIC/XL interpreter command
>SAVE filename. The program may be compiled and linked
with the BBXLLK command and executed with the MPE/iX
command RUN.

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 compile and link a source program named MYPROG stored in the
BASIC SAVE file named MYSRC, and send the listing to the
program file named MYPROG, enter

BBXLLK MYSRC,MYPROG

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:   BBXL, BBXLCOMP, BBXLGO

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