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

4- 142
Syntax
{AT [LEVEL]}
SUPPRESS [PRINT] {LEVEL }
suppress_level
Parameters
suppress_level
A numeric expression with a value from zero to nine. A
level of zero causes the statement to be ignored. All
output from the
suppress_level
and higher summary levels
is suppressed.
Examples
The following examples show the use of the SUPPRESS AT statement.
100 SUPPRESS PRINT AT N+M
100 SUPPRESS AT 4
The SUPPRESS AT statement is evaluated by BEGIN REPORT. It is busy only
during evaluation. If the indicated level is zero, the statement is
ignored and all output takes place.
Once report output starts, output is only produced by the HEADER and
TRAILER sections with summary levels lower than SUPPRESS AT. The report
sections (REPORT HEADER, REPORT TRAILER, and REPORT EXIT) are at level
zero and can never be suppressed with this statement. The PAGE HEADER
and PAGE TRAILER sections are not affected by this statement.
Only the actual printing of the report is affected. BREAK IF and BREAK
WHEN conditions are still checked, and totals are still accumulated.
PRINT and DETAIL LINE output are not affected by SUPPRESS AT. Only the
HEADER and TRAILER sections are suppressed.
SUPPRESS FOR
The SUPPRESS FOR statement provides a means of inhibiting print for a
specified number of pages at the beginning of a report. The report is
generated normally, but no output is actually produced until the correct
number of pages have been processed.
Syntax
[PAGE ]
SUPPRESS [PRINT] FOR
num_pages
[PAGES]
Parameters
num_pages
A numeric expression indicating how many pages should be
skipped before printing starts. This must be a
non-negative valid INTEGER value.
Examples
The following show the use of the SUPPRESS FOR statement.
100 SUPPRESS PRINT FOR Spf PAGES
100 SUPPRESS FOR 1 PAGE
The SUPPRESS FOR statement is evaluated by BEGIN REPORT, and is busy
during its evaluation.
The report is generated normally, but all output is prevented by this
statement. The Report Writer counts the number of physical pages
produced. When the correct number of pages has been produced, actual
output starts up. All Report Writer errors, including the not enough
lines on a page, may occur while output is suppressed.