Previous Topic: DISPLAY LINENext Topic: END


DISPLAY PAGE

The DISPLAY PAGE command displays a specified page of the work file. A page is defined as the number of lines that the screen will accommodate, minus one for the top line.

You can request an explicit page number or a symbolic page number that indicates the relative position of the page within the work file. You can enter any DISPLAY PAGE options without having to precede the option with the words DISPLAY PAGE. For example, you need only enter 12 to go to page 12 or LAST to go to the last page of the work file.

Syntax

►►─── display PAGE ─┬─ FIRst ────────┬────────────────────────────────────────►◄
                    ├─ LASt ─────────┤
                    ├─ NEXt ─────────┤
                    ├─ PRIOr ────────┤
                    ├─ page-number ──┤
                    ├─ *+page-count ─┤
                    └─ *-page-count ─┘

Parameters

FIRst

Displays the first page in the work file.

LASt

Displays the last page in the work file.

NEXt

Displays the page in the work file immediately following the current page.

PRIOr

Displays the page in the work file immediately preceding the current page.

To avoid conflict with the PRINT command, PRIOR can only be abbreviated to PRIO. In the IDD Menu Facility, PRIOR can be abbreviated to PRI.

page-number

Displays the specified page in the work file.

*+page-count

Displays the page derived by adding page-count to the current page number. For example, if the current work file page is 4, you display page 6 by specifying *+2.

*-page-count

Displays the page derived by subtracting page-count from the current page number. For example, if the current work file page is 6, you display 4 by specifying *-2.