BBASICPREP



BBASICPREP

     Compiles and prepares 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)

SYNTAX

     BBASICPREP infile[,[progfile][,listfile]]

PARAMETERS

infile              Actual file designator of the BSAVE file containing
the BBASIC 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 V/E Segmenter creates
the program file, which will reside in the temporary
file domain as $OLDPASS. If you do create your own
program file, you must do so in one of two ways

o Using the MPE/iX 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.

o 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 program
the 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 MPE/iX FILE command.

OPERATION

     The BBASICPREP command compiles and prepares a program from a
BSAVE file generated by the BBASIC interpreter. If you omit the
progfile parameter, the prepared program segments are stored in
the system-defined 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 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.

EXAMPLE(S)

     To compile and prepare a program named MYPROG from the
BBASIC BSAVE file named MYCOMDS, and send the listing to the
standard list device, enter

BBASICPREP MYCOMDS,MYPROG

ADDITIONAL INFORMATION

Commands:   BBASIC, BBASICGO, BBASICOMP

Manuals :   HP Business BASIC/XL Reference Manual (32715-60001)
            MPE Segmenter Reference Manual (32650-60026)