MPE/iX Commands Reference Manual (32650-90877)

Chapter 3 77
Command List I
Commands ABORT to BYE
Example
To compile, prepare, and execute the BASIC/V program MYPROG, enter:
BASICGO
$CONTROL USLINIT
$COMPILE MYPROG
$EXIT
The above example begins execution of the BASIC/V compiler, initializes the USL,
compiles the program MYPROG, and then exits from the compiler.
Related Information
Commands BASIC, BASICOMP, BASICPREP
Manuals BASIC/V Compiler Reference Manual
MPE Segmenter Reference Manual
BASICOMP
Compiles 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
BASICOMP[
commandfile
] [ ,[
uslfile
] [ ,
listfile
] ]
Parameters
commandfile Actual file designator of the input file from which the BASIC/V compiler
commands are read. This can be any ASCII input file. Formal file
designator is BSCTEXT. Default is $STDINX.
uslfile Actual file designator of the user subprogram library (USL) file to which
the object code is written, which can be any binary output file with a file
code of USL or 1024. Its formal file designator is BSCUSL. 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 MPE/iX BUILD command and 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.