[Overview][Constants][Types][Procedures and functions][Variables] | Reference for unit 'Crt' (#rtl) |
Return X (horizontal) cursor position
Source position: crth.inc line 76
function WhereX: Byte; |
WhereX returns the current X-coordinate of the cursor, relative to the current window. The origin is (1,1), in the upper-left corner of the window.
None.
|
Set cursor position on screen. |
|
|
Return Y (vertical) cursor position |
|
|
Create new window on screen. |
Program Example7; uses Crt; { Program to demonstrate the WhereX and WhereY functions. } begin Writeln('Cursor postion: X=',WhereX,' Y=',WhereY); end.
No notes exist for this page yet.