| tclbox | Index Level | tf |
| Syntax |
.test page {number.lines}
.tp {number.lines} |
| Category | Output Processor |
| Type | Command |
| Description |
tests the number of lines left on the current page and determines whether text is output on the current or next page.
If the "number.lines" parameter is less than the count returned, the following text is output on the current page. Otherwise, a page is ejected and the text is output on the new page. This prevents blocks of text from being split across a page boundary. |
| Options | |
| See Also | tp OP commands Output Processor |
| Example |
.test page 10
This tests to determine if there are at least 10 print lines remaining on the current output page. If there are, the following text is printed on the same page, otherwise, a form-feed is issued and the text prints on the next page. |
| Warnings | |
| Compatibility | D3 7.0 AP |
| tclbox | Index Level | tf |