HP (Hewlett-Packard) HP 3000 Laptop User Manual


 
Chapter 2 85
Command Definitions A-B
BASIC
BASIC
Interprets 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
BASIC[ commandfile] [ ,[ inputfile] [ ,listfile] ]
Parameters
commandfile Actual file designator of the source file or device from which BASIC/V
commands and statements are input. This can be any ASCII input file.
Formal file designator is BASCOM. Default is $STDINX.
inputfile Actual file designator of the file containing data input for a BASIC/V
program. This can be any ASCII input file. Formal file designator is
BASIN. Default is $STDINX.
listfile Actual file designator of the destination file for the program listing and
output. This can be any ASCII output file. Formal file designator is
BASLIST. Default is $STDLIST.
NOTE The formal file designators used in this command (BASCOM, BASIN, and
BASLIST) 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 BASIC command is generally used for online programming in BASIC/V, but it can also
be used to interpret BASIC/V programs submitted in batch mode. In batch mode, the
BASIC/V >EOD command is required after any data following the BASIC/V >RUN
command, or after the >RUN command itself if there is no data.
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.