PreviousNext
Help > Programming with LAUNCHER Office > LNCCMD commands > Commands list > WGETHPOS command
WGETHPOS command

Retrieves the cursor horizontal position from the left edge of the page.

 

This is the distance from the cursor to the left edge of the page measured in points (1 point = 20 twips, 72 points = 1 inch).


The result is sent through the &RESULT variable.

 

Syntax

 

CHGVAR                VAR(&CMD)VALUE('WGETHPOS')

CHGVAR                VAR(&PARM1)VALUE(' ')

CHGVAR                VAR(&PARM2)VALUE(' ')

CALL                  PGM(LNCCMD) PARM(&HANDLE &CMD &OPT &PARM1 +

                      &PARM2 &RESULT)

MONMSG MSGID(LNC0000) EXEC(GOTO CMDLBL(ERROR))