ConWindowWidth function

 

Usage:

PixelsX& = ConWindowWidth

 

Legacy Syntax:

n/a

 

Pseudo-object Syntax:

PixelsX& = CON.SIZE.X

 

Gets the width of the console window, in pixels.

 

The returned width includes the side borders.

 

Conversion:

 

#IF %DEF(%PB_CC32)

  PixelsX& = CON.SIZE.X

#ELSE

  PixelsX& = ConWindowWidth

#ENDIF

 

See Also: ConGetWindowSize, ConWindowHeight