BASICGO

Generated from C.65.00 /SYSADMIN/PUB/MYCICAT last modified on Sun Aug 29 15:08:37 2004

Back to Main Index


BASICGO


     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
     separately. (CM)

SYNTAX


     BASICGO [commandfile][,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.

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.

NOTE


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.

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 RESUME continues the execution.


OPERATION


     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.


EXAMPLE(S)


     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.

ADDITIONAL INFORMATION


Commands:   BASIC, BASICOMP, BASICPREP

Manuals :   BASIC/3000 Interpreter Manual (32103-90001)
            MPE Segmenter Reference Manual (32650-60026)

Back to Main Index