HP (Hewlett-Packard) HP 3000 Laptop User Manual


 
Chapter 2 97
Command Definitions A-B
BBASICOMP
BBASICOMP
Compiles an HP Business BASIC/V program in compatibility mode. HP Business BASIC/V
is not part of the HP 3000 Series 900 Computer System Fundamental Operating Software
and must be purchased separately.
Syntax
BBASICOMP infile [ ,[ uslfile] [ ,listfile] ]
Parameters
infile Actual file designator of the BSAVE file containing the HP Business
BASIC/V program to be compiled. Formal file designator is BBCIN.
uslfile Actual file designator of the user subprogram library (USL) file on which
the object program is written, which can be any binary output file with file
code of USL or 1024. Its formal file designator is BBCUSL. If the uslfile
parameter is omitted, the object code is saved to the temporary file
$OLDPASS. If entered, this parameter specifies that the file was created in
one of four ways:
By using the SAVE command to save the default USL file $OLDPASS
created by a previous compilation.
By building the USL with the MPE segmenter command BUILDUSL.
Refer to the MPE Segmenter Reference Manual (30000-90011).
By creating a new USL file with the BUILD command and specifying a
file code of USL or 1024.
By specifying a nonexistent uslfile parameter, thereby creating a
permanent file of the correct size and type.
listfile Actual file designator of the file on which the program listing is written.
This can be any ASCII output file. Formal designator is BBCLIST. Default
is $STDLIST.
NOTE The formal file designators used in this command (BBCIN, BBCUSL, and
BBCLIST) 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 FILE command.
Operation Notes
The BBASICOMP command compiles a source program stored in a BASIC SAVE file
generated by the HP Business BASIC/V interpreter. The compiled program executes
significantly faster than the corresponding interpreted version.