HP 3000 Manuals

BBASICOMP [ MPE/iX Commands Reference Manual Volume I ] MPE/iX 5.0 Documentation


MPE/iX Commands Reference Manual Volume I

BBASICOMP 

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.

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. 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 . Use 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 the RESUME command continues the execution. Examples To compile the HP Business BASIC/V 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 If you now want to run your program, use the PREPRUN command: PREPRUN $OLDPASS Related Information Commands BBASIC, BBASICGO, BBASICPREP Manuals HP Business BASIC/XL Reference Manual (32715-60001) MPE Segmenter Reference Manual (32650-60026)


MPE/iX 5.0 Documentation