ConPageActive function

 

Usage:

ActivePage& = ConPageActive

 

Legacy Syntax:

ActivePage& = PAGEACTIVE

 

Pseudo-object Syntax:

ActivePage& = CON.PAGE.ACTIVE

 

Gets the active console buffer page number.

 

The page number is in the range of 1 to 8 inclusive. The active page is the one which receives text from console output functions, which may be different to the currently visible page.

 

Conversion:

 

#IF %DEF(%PB_CC32)

  ActivePage& = PAGEACTIVE

#ELSE

  ActivePage& = ConPageActive

#ENDIF

 

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

 

See Also: ConSetPage, ConPageActive command