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

2-: 8
100+2/140 120/140
100+2/145 120/140
100+2/150-1 120/140
200-3 Error
100/200-3 Error
110-3/140-1 100/130
130+5 180
Add 130 If the main unit is currently executing, otherwise
an error results.
Add-1/Add+1 120/140 If the main unit is currently executing,
otherwise an error results.
MAIN 100/150
FNTwo 160/190
Halt Key
Pressing CONTROL Y while a program is executing suspends the program.
Any I/O (Input or Output) operation that is in process finishes before
program execution is suspended. For example, if the program is reading a
disk file, that read will complete before the program is suspended. When
the HALT is executed, the cursor appears on the terminal screen. To
resume program execution, use the CONTINUE command, described later in
this chapter.
Pressing the halt key twice in rapid succession suspends the program,
but any I/O operation that is in progress is aborted.
INDENT Command
The INDENT command indents the bodies of constructs. This tool makes it
easy to see the nesting level of the program's constructs. The INDENT
command modifies lines without displaying them.
Syntax
INDENT [
num_expr1
[,
num_expr2
] ]
Parameters
num_expr1
The value
num_expr1
+8 is the starting column number of
every line that is not in the body of a structured
statement. The value of
num_expr1
must be in the range
[1,63]. Default is one.
num_expr2
Increment for calculating starting column numbers of
nested (indented) lines. If a line is in the body of
one structured statement, it is nested (and indented)
once and begins in column(
num_expr1
+8)+
num_expr2
. If a
line is in the body of
n
structured statements, it is
nested (and indented)
n
times, and begins in column
(
num_expr1
+8)+(
n
*
num_expr2
). The value of
num_expr2
must be in the range [0,63]. The default is three.
The INDENT statement indents the part of the line that follows the line
number and label. It does not indent the line number or the label of a
line. The line number is always right-justified in columns two through
seven. For a labeled line, the indented line will contain the line
number, one blank space, the label and a colon (:). The rest of the line
begins in the column specified by the INDENT command, with two