ConPageVisible function

 

Usage:

VisiblePage& = ConPageVisible

 

Legacy Syntax:

VisiblePage& = PAGEVISIBLE

 

Pseudo-object Syntax:

VisiblePage& = CON.PAGE.VISIBLE

 

Gets the visible console buffer page number.

 

The page number is in the range of 1 to 8 inclusive. The visible page is the one which is currently shown in the console window, which may be different to the currently active page.

 

Conversion:

 

#IF %DEF(%PB_CC32)

  VisiblePage& = PAGEVISIBLE

#ELSE

  VisiblePage& = ConPageVisible

#ENDIF

 

CON.PAGE.VISIBLE or CONSOLE.PAGE.VISIBLE may be substituted for PAGEVISIBLE in programs written for PB/CC 6.

 

See Also: ConSetPage, ConPageVisible command