You are here: start » ppl » statements » ansipos

ANSIPOS col:integer, row:integer

ANSIPOS col:integer, row:integer

If ANSI is available, position the cursor in column col and in row row

Legal ranges:

    1 <= col <= 80  
    1 <= row <= 23 (Because of the status lines)  

(1,1) is the top left corner of the screen

Note: Be aware that the user may have a different number of lines on his screen… if the user has 50 lines for exemple and that you do an ANSIPOS sentence to position the cursor on the 23rd line, the user will have a prompt in the middle of his screen…


See also: GetX, GetY

ppl/statements/ansipos.txt · Last modified: 2024/03/27 17:11
CC Attribution 4.0 International Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution 4.0 International