O+P - Set page size.

Syntax:

O+P
O+Pn
O-P

Examples:

o+p
o+p24
o-p

Options:

n
is a positive integer.

Description:

O+Pn sets FRED's terminal page length to n. If you do not specify a size, the page length is set to 20.

When printing a lot of output, FRED will print n+2 lines and then pause. This is a convenient feature for those who are working on CRT terminals which may print too quickly for easy reading.

After printing a page, FRED waits for you to type a carriage return. When you do, FRED prints another page. If you type anything besides the carriage return, FRED behaves as if you pressed the BREAK or ATTN key.

O-P turns off this paging feature.

The page size is referenced by all instructions that print several lines to the terminal (L, P, FB, etc.). During a pause at the end of a page of output, the cursor of the terminal will stay pointing to the last printed line. In contrast, the cursor always advances one line past the final line of output when the listing is finished. In this way, you can tell the difference between a pause in printing and the end of the listing.

Copyright © 1998, Thinkage Ltd.