HP (Hewlett-Packard) HP 3000 Laptop User Manual


 
Chapter 2 91
Command Definitions A-B
BASICPREP
BASICPREP
Compiles and prepares a compatibility mode BASIC/V program. BASIC/V is not part of the
HP 3000 Series 900 Computer System Fundamental Operating Software and must be
purchased separately.
Syntax
BASICPREP[ commandfile] [ ,[ progfile] [ ,listfile] ]
Parameters
commandfile Actual file designator of the input file from which the BASIC/V compiler
commands are read. This can be any ASCII file. Formal file designator is
BSCTEXT. Default is $STDINX.
progfile Actual file designator of the program file on 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. To create your own program file, 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 to which the listing is written. This can be
any ASCII output file. Formal file designator is BSCLIST. Default is
$STDLIST.
NOTE The formal file designators used in this command (BSCTEXT and BSCLIST)
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 BASICPREP command compiles and prepares a program for execution from a "
fastsave" file generated by the BASIC/V interpreter. If the progfile parameter is omitted,
the prepared program segments are stored in the systemcdefined temporary file
$OLDPASS. To save the prepared program in a file other than $OLDPASS, either create a
file and specify its file name on the BASICPREP command line, or specify a nonexistent
progfile.
A program compiled and prepared with the BASICPREP command may be executed with
the MPE/iX RUN command.