HPlogo MPE/iX Commands Reference Manual: HP 3000 MPE/iX Computer Systems > Chapter 2 Command Definitions A-B

BBASIC

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Index

Starts execution of the HP Business BASIC/V interpreter in compatibility mode. HP Business BASIC/V is not part of the HP 3000 Series 900 Computer System Fundamental Operating Software and must be purchased separately.

Syntax

BBASIC[ commandfile] [ ,[ inputfile] [ ,listfile] ]

Parameters

commandfile

Actual file designator of the source file or device from which HP Business 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 HP Business BASIC/V program. This can be any ASCII input file. Formal file designator is BASIN. Default is $STDINX.

outfile

Actual file designator of the destination file for the program listing and output. This can be any ASCII output file. Formal file designator is BASOUT. Default is $STDLIST.

NOTE: The formal file designators used in this command (BASCOM, BASIN, and BASOUT) 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 BBASIC command is generally used for online programming in HP Business BASIC/V, but it can also be used to interpret HP Business BASIC/V programs submitted in batch mode. In batch mode, the HP Business BASIC/V >EXIT or >:: command is required as the last statement in the command file. HP Business BASIC/V has its own online help facility.

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.

Example

To enter commands and data from your standard input device, with program listing and output transmitted to the standard output device, use:

  BBASIC

You may also submit commands and data to the HP Business BASIC/V interpreter through input files that you have stored on disk. Files created using the editor must be kept with the UNN (unnumbered) option of the editor's KEEP command. In this example, HP Business BASIC/V interpreter commands and statements are submitted from the command file MYCOMDS. The data that the program uses is stored in the input file MYDATA. The program listing and output are written to the file MYLIST:

  BBASIC MYCOMDS,MYDATA,MYLIST

Related Information

Commands

BBASICGO, BBASICOMP, BBASICPREP

Manuals

HP Business BASIC/XL Reference Manual

MPE Segmenter Reference Manual

Feedback to webmaster