PAGEVISIBLE function

Purpose

Return the number of the visible console page.

Syntax

vpage& = PAGEVISIBLE

Remarks

PAGEVISIBLE returns the current visible console page number in the range 1 to 8 inclusive, as set by the PAGE statement.

The output from the PRINT statement is displayed on the active console page, and is only immediately visible if the visible console page is the same as the active console page, or the text is subsequently copied from the active to the visible page.  Use the PCOPY statement to copy text from one console page to another.

See also

PAGE, PAGEACTIVE, PRINT, STDOUT