Compiles, prepares, and executes a Compatibility Mode BASIC/V
program. BASIC/V is not part of the 900 Series HP 3000 Computer
System Fundamental Operating Software and must be purchased
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.
listfile Actual file designator of the file to which the
program listing is written. This can be any ASCII
output file. Formal file designator is BSCLIST.
Default is $STDLIST.
The formal file designators used in this command (BSCTEXT and BSCLIST)
cannot be backreferenced as actual file designators in the command
parameter list. Refer to the "IMPLICIT FILE COMMANDS FOR SUBSYSTEMS"
discussion of the MPE/iX FILE command for further information.
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.
This command compiles, prepares, and executes a Compatibility
Mode program from a "fastsave" file created by the BASIC/V
interpreter. This enables the program to run faster than it would
if it were executed by the interpreter.
To save the program after it is written, use the BASIC/V
interpreter command SAVE filename,FAST. The program then can be
compiled, prepared, and executed with the BASIC/VGO command. You
must specify the FAST option to compile the program.
To compile, prepare, and execute the BASIC/V program MYPROG, enter
BASICGO ** Calls the BASIC/V compiler. **
$CONTROL USLINIT ** Initializes USL. **
$COMPILE MYPROG ** Compiles program MYPROG. **
$EXIT ** Exits from compiler. **
The example above begins executing the BASIC/V compiler,
initializes the USL, compiles the program MYPROG, and
then exits from the compiler.
Commands: BASIC, BASICOMP, BASICPREP
Manuals : BASIC/3000 Interpreter Manual (32103-90001)
MPE Segmenter Reference Manual (32650-60026)