POS

Function

POS returns the current cursor position on the line.

Syntax

POS(n)

n is a dummy argument.

Examples

A=POS(X)

Variable ‘A’ contains the current cursor column position.

Remarks

The returned value will be in the range 1 to 80.