ConGetPageSize command

 

Usage:

ConGetPageSize Rows&, Cols&

 

Legacy Syntax:

CONSOLE GET VIRTUAL TO Rows&, Cols&

 

Pseudo-object Syntax:

CON.VIRTUAL TO Rows&, Cols&

 

Gets the size of the console output page buffers.

 

A console page may be larger than the visible console screen.

 

Conversion:

 

#IF %DEF(%PB_CC32)

  CONSOLE GET VIRTUAL TO Rows&, Cols&

#ELSE

  ConGetPageSize Rows&, Cols&

#ENDIF

 

CON.VIRTUAL or CONSOLE.VIRTUAL may be substituted for CONSOLE GET VIRTUAL in programs written for PB/CC 6.

 

See Also: ConSetPageSize, ConPageRows, ConPageCols