ConPageCols function

 

Usage:

Cols& = ConPageCols

 

Legacy Syntax:

Cols& = SCREENX

 

Pseudo-object Syntax:

Cols& = CON.VIRTUAL.COL

 

Gets the width of the console page buffers, in text columns.

 

Conversion:

 

#IF %DEF(%PB_CC32)

  Cols& = SCREENX

#ELSE

  Cols& = ConPageCols

#ENDIF

 

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

 

See Also: ConSetPageSize, ConGetPageSize, ConPageCols