HP Business BASIC/XL Reference Manual - HP 3000 MPE/iX Computer Systems - Edition 1 (32715-90001)

3- 4
The following are command-only statements:
ANALYST CONTINUE HOP NAME
AUTO COPY INFO REDO
CALLS CWARNINGS LIST RENUMBER
CHANGE EXIT(or ::) LIST SUBS RUN
COMPGO FILES MODIFY STEP
COMPILE FIND MOVE VERIFY
COMPLINK HELP XREF
A command-only statement cannot be a program line. Every other Business
BASIC\XL statement can be a command or a program line. There are also
some statements that cannot be a command. That is, they can only appear
in program lines.
The following are statements that can appear as part of a program line,
but can not be issued as a command:
ACCEPT END WHILE IF THEN ELSE OPEN FORM SUBEND
CASE END IF IMAGE OPTION SUBEXIT
CLEAR FORM ENTER IN DATASET PACKFMT SUBPROGRAM
CLOSE FORM EXIT IF INPUT PAUSE THREAD IS
COPTION EXTERNAL INTEGER READ TINPUT
DATA FLUSH INPUT INTRINSIC READ FORM WHILE
DECIMAL FNEND LENTER REAL WORKFILE IS
DEF FN FOR LINPUT REPEAT WRITE FORM
DIM GLOBAL COPTION LOOP SELECT UNTIL
ELSE GLOBAL EXTERNAL MAT INPUT SHORT DECIMAL
END LOOP GLOBAL INTRINSIC MAT READ SHORT INTEGER
END SELECT GLOBAL OPTION NEXT SHORT REAL
All other statements can be issued as a command, and can appear in a
program line.
Keywords
Keywords are the basis of statements.
A keyword can be entered in the following ways:
* All uppercase letters (for example, PRINT).
* All lowercase letters (for example, print).
A keyword cannot be entered using a combination of uppercase and
lowercase letters; for example, PrINt, or Print.
Regardless of how keywords are entered, HP Business BASIC/XL lists them
in uppercase.