HP Business BASIC/XL Reference Manual - HP 3000 MPE/iX Computer Systems - Edition 1 (32715-90001)
4-: 105
>CONT
>MAT PRINT Matrix_ inverse
-.035714285714857 -.0357142857142857 .1785714285714286
-.130952380952381 .2023809523809524 -.0119047619047619
.3452380952380952 .0119047619047619 -.0595238095238095
>80 CREATE "inverse"
>90 ASSIGN #2 TO "inverse"
>100 MAT PRINT #2;Matrix_inverse
>110 PRINT "Done with program"
>120 END
>CONT
Done with program
>
In the above program, the program is paused at line 50, and the first two
MAT PRINT statements are executed. The program is then continued, and
pauses again at line 70. At that time, the third MAT PRINT is executed,
and lines 80 through 120 are added to the program. The program is then
continued to completion. After this last CONT command, the new lines
(80-120) are executed.
PAUSE EVERY
The PAUSE EVERY statement is a Report Writer statement that allows you to
pause at the end of a report page. This statement is useful for looking
at reports on the terminal as well as directing printers to stop for
paper replacement at specified times.
Only one PAUSE EVERY statement can occur in a report description.
Syntax
{AFTER EVERY} [PAGE ]
PAUSE {AFTER }
num_pages
[PAGES]
{EVERY }
Parameters
num_pages
A numeric expression indicating how often the Report
Writer should pause. Output will be suspended every
page that is a multiple of
num_pages
. The value of the
expression must be a non-negative integer. A value of
zero causes the statement to be ignored.
Examples
The following examples show the use of the PAUSE EVERY statement.
100 PAUSE EVERY 1 PAGES
100 PAUSE AFTER EVERY Pause_every PAGES
This statement is evaluated only by BEGIN REPORT. It is busy only during
its evaluation. If the expression is zero, the statement is ignored and
no pauses take place.
The PAUSE EVERY statement is active when report output occurs on the
terminal. Reports redirected to non-terminal devices do not suspend
output. The SUPPRESS PRINT FOR statement prevents the pause from taking
place while output is suppressed. However, the pages are counted while
output is suppressed, so the pause takes place on the first page that is
a multiple of
num_pages
that gets printed.
When the report pauses, no prompt is given. This prevents extraneous
characters from appearing on a printed report. The report writer waits