PAGEACTIVE function

Purpose

Return the number of the active console page.

Syntax

apage& = PAGEACTIVE

Remarks

PAGEACTIVE returns the current active 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, PAGEVISIBLE, PRINT, STDOUT