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

7- 5
| RWINFO (Expression) | Returns various pieces of information that is useful in |
| | controlling the Report Writer. |
| | |
--------------------------------------------------------------------------------------------
| | |
| TOTAL (Level, Sequence) | Returns accumulated totals. |
| | |
--------------------------------------------------------------------------------------------
Other Statements
The PRINT and PRINT USING statements produce report output after report
output has begun. These statements are used in conjunction with the
USING clauses of Report Writer statements to generate the report. Before
report output begins and when a report is not active, these statements do
not affect the report.
System output, such as LIST output and display output using the DISP
statement, does not affect output even on the same terminal. This aids
in debugging a report.
When error 260 "no lines left on page" occurs, be sure not to use PRINT
to display an error message. This causes an infinite loop, because
printing the message causes the error again. Instead, use DISP
statements or trap on ERROR 260 and trigger a page break first.
The COPY ALL OUTPUT and SEND OUTPUT statements cannot execute once report
output begins. These statements can execute for an active report before
output starts.
The TAB function of PRINT always works relative to the left margin. If a
report specifies a left margin of 10, a
PRINT TAB(10);...
moves to the tenth column past the margin (column 19). A TAB(1) moves to
the left margin column.