HP Business BASIC/XL Reference Manual - HP 3000 MPE/iX Computer Systems - Edition 1 (32715-90001)
4- 104
In order to perform a page break, the PAGE TRAILER section first prints
enough blank lines to position the page trailer properly on the page.
Then the PAGE TRAILER statement executes its USING clause, if present.
The PAGE TRAILER section executes next, terminating when another REPORT
WRITER section statement is encountered. Blank lines are then printed
for the remaining lines reserved by the PAGE TRAILER and for the bottom
margin.
The page function values; that is, number of lines printed on a page,
number of lines left on a page, and number of lines output are then
updated, followed by execution of a PAGE HEADER.
The PAGE TRAILER does not print if the SUPPRESS PAGE TRAILER ON statement
has been executed. The TRIGGER PAGE BREAK statement can suppress the
page trailer with its SUPPRESS option. Refer to TRIGGER PAGE BREAK for
more information. If the page trailer is suppressed, none of the
statements in the PAGE TRAILER section are executed.
PAUSE
The PAUSE statement suspends program execution. While the program is
suspended, you can display and modify values of individual variables,
modify program lines, and execute commands.
Syntax
PAUSE [
str_expr
]
Parameters
str_expr
String expression that the PAUSE statement displays
before suspending program execution.
A suspended program resumes execution when the CONTINUE command is
executed.
PAUSE cannot be a command. The following are the equivalent to a PAUSE
command:
* Control Y (if no ON HALT statement is active).
* Control Y twice in rapid succession (even if an ON HALT statement is
active).
Examples
>LIST
! mat
10 OPTION BASE 1
20 DIM Matrix_read(3,3),Matrix_inverse(3,3)
30 ASSIGN #1 TO "matrix"
40 MAT READ #1; Matrix_read
50 PAUSE
60 MAT Matrix_inverse=INV(Matrix_read)
70 PAUSE
>RUN
>MAT PRINT Matrix_read
1 0 3
1 5 2
6 1 1
>MAT PRINT Matrix_inverse
0 0 0
0 0 0
0 0 0