HP (Hewlett-Packard) HP 3000 Laptop User Manual


 
Chapter 2 99
Command Definitions A-B
BBASICPREP
BBASICPREP
Compiles and prepares 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
BBASICPREP infile [ ,[ progfile] [ ,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.
progfile Actual file designator of the program file to which the prepared program
segments are written. When progfile is omitted, the MPE segmenter
creates the program file, which resides in the temporary file domain as
$OLDPASS. If you do create your own program file, you must do so in one of
two ways:
By using the BUILD command and specifying a file code of 1029 or PROG
and a numextents value of 1. This file is then used by the PREP
command.
By specifying a nonexistent file in the progfile parameter, in which case
a temporary job file of the correct size and type is created.
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.
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 FILE
Commands for Subsystems" discussion of the FILE command.
Operation Notes
The BBASICPREP command compiles and prepares a program from a BSAVE file generated
by the HP Business BASIC/V interpreter. If you omit the progfile parameter, the prepared
program segments are stored in the systemcdefined temporary file $OLDPASS. If you want
to save the prepared program in a file other than $OLDPASS, you may either create a file
and specify its file name on the BBASICPREP command line, or specify a nonexistent
progfile.
A BSAVE program file can be created from within the HP Business BASIC/V interpreter
after it is written, by using the HP Business BASIC/V interpreter >SAVE filename
command. The program may be compiled with the BBASICOMP command, then prepared
with the PREP command, and executed with the RUN command.