ConCursor function

 

Usage:

Height& = ConCursor

 

Legacy Syntax:

Height& = CURSOR

 

Pseudo-object Syntax:

Height& = CON.CURSOR

 

Gets the cursor visibility and height as a value from 0 to 100. If the returned value is in the range 1 to 100, it represents the percentage of the character cell height of the visible cursor. If the returned value is zero, it indicates that the cursor is invisible (hidden).

 

Conversion:

 

#IF %DEF(%PB_CC32)

  Height = CURSOR

#ELSE

  Height = ConCursor

#ENDIF

 

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

 

See Also: ConCursor command, ConCursorOff, ConCursorOn