MPE/iX Commands Reference Manual (32650-90877)
78 Chapter3
Command List I
Commands ABORT to BYE
This can be any ASCII output file. Formal designator is BSCLIST. Default
is $STDLIST.
NOTE
The formal file designators used in this command (BSCTEXT, BSCUSL, 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 BASICOMP command compiles a program from a "fastsave" file generated by the
BASIC/V interpreter. If a USL file is not specified, the BASIC/V compiler stores the object
code in the default systemcdefined temporary file $OLDPASS, as shown in the second
example, below. You may, however, build a USL file in the permanent file domain, then
direct the BASIC/V compiler to store the object code in this file by naming the USL file in
the BASICOMP command line. Refer to "Examples."
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 BASIC/V program MYPROG onto the USL named OBJECT, enter:
BUILD OBJECT;CODE=USL
BASICOMP, OBJECT
$CONTROL USLINIT
$COMPILE MYPROG
$EXIT
The above example builds the USL file, begins execution of the BASIC/V compiler and
specifies the USL named OBJECT, initializes the USL, compiles the fastsave program
named MYPROG, and then exits from the compiler.
If you do not choose to build a USL file, the BASICOMP command compiles your program
and stores the object code in the default USL file $OLDPASS.
BASICOMP
$COMPILE MYRUN
$EXIT
The above example begins execution of the BASIC/V compiler, accepts commands from
$STDINX, and specifies $OLDPASS the USL output and $STDLIST for listing output. It
compiles from the fastsave file named MYRUN into a USL named $OLDPASS, and then exits
from the BASIC/V compiler.
To run your program, enter:
PREPRUN $OLDPASS