Generated from C.75.00 /SYS/PUB/CICAT last modified on Fri May 2 09:23:05 2003
Compiles an HP Business BASIC/V program in Compatibility Mode. HP
Business BASIC/V is not part of the 900 Series HP 3000 Computer
system Fundamental Operating Software and must be purchased
separately. (CM)
BBASICOMP infile[,[uslfile][,listfile]]
infile Actual file designator of the BSAVE file containing
the BBASIC 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 BBSCUSL. 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
o By using the SAVE command to save the default
USL file $OLDPASS created by a previous
compilation.
o By building the USL with the MPE Segmenter
command -BUILDUSL. Refer to the MPE Segmenter
Reference Manual (32650-60026).
o By creating a new USL file with the MPE/iX
BUILD command and specifying a file code of USL
or 1024.
o 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.
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 MPE/iX FILE command.
The BASICOMP commands compiles a program from a BSAVE file
generated by the HP Business BASIC/V interpreter. This enables the
program to run faster than it would if it were left in the form
generated by the interpreter.
A BSAVE program file can be created from within the BBASIC
interpreter after it is written, by using the BBASIC
interpreter command >SAVE filename. The program may be
compiled with the BBASICOMP command, then prepared with the
MPE/iX command PREP, 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.
To compile the BBASIC program MYPROG into the USL named
OBJECT, enter
BBASICOMP MYPROG,OBJECT
If you do not choose to build a USL file, the BBASICOMP
command compiles your program, storing the object code in
the default USL file $OLDPASS.
BBASICOMP MYPROG ** Runs BASIC/V compiler and accepts **
** MYPROG as a BSAVE program file. **
** $OLDPASS is the default USL, **
** and $STDLIST is the default **
** output listing. **
If you now want to run your program, use the PREPRUN command
PREPRUN $OLDPASS ** Prepares and runs program. **
Commands: BBASIC, BBASICGO, BBASICPREP
Manuals : HP Business BASIC/XL Reference Manual (32715-60001)
MPE Segmenter Reference Manual (32650-60026)