Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
ppl:statements:ansipos [2019-04-16 14:00] – created - external edit 127.0.0.1ppl:statements:ansipos [2026-10-08 11:05] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ====== ANSIPOS col:integer, row:integer ====== ====== ANSIPOS col:integer, row:integer ======
-If ANSI is available, position the cursor in column "col" and in row "row"  +If ANSI is available, position the cursor in column `col` and in row `row`     
- +     
-        Legal ranges:  1 <= col <= 80   +**Legal ranges:** 
-                       1 <= row <= 23 (Because of the status lines)   +      1 <= col <= 80   
-                       (1,1) is the top left corner of the screen   +      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...   +     
- +**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+    
  
 +---
 +**See also:** [[ppl:functions:getx|GetX]], [[ppl:functions:gety|GetY]]