Pos
 
Returns the horizontal (left-right) position of the text cursor

Syntax
Usage

result = POS( dummy )

Parameters

dummy
An unused parameter retained for backward compatibility with QB.

Return Value

Returns the horizontal position of the text cursor.

Description

Returns the horizontal (left-right) position of the text cursor. 1 means the very left.

Example

Print "position: "; Pos
Print "hello world";
Print "position: "; Pos


Differences from QB

  • None.

See also