ConGetScreenSize command

 

Usage:

ConGetScreenSize Rows&, Cols&

 

Legacy Syntax:

CONSOLE GET SCREEN TO Rows&, Cols&

 

Pseudo-object Syntax:

CON.SCREEN TO Rows&, Cols&

 

Gets the size of the visible part of the console window, in text rows and columns.

 

Conversion:

 

#IF %DEF(%PB_CC32)

  CONSOLE GET SCREEN TO Rows&, Cols&

#ELSE

  ConGetScreenSize Rows&, Cols&

#ENDIF

 

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

 

See Also: ConSetScreenSize, ConScreenRows, ConScreenCols