CRT Documentation: Reference |
[This procedure has changed from its original DOS version.]
Returns the Y coordinate of the current cursor location.
function WhereY: integer;
Returns the row number that the cursor is currently in. The top-most row is 1.
The return value is 1-based. This Delphi version of WhereY returns an integer rather than a byte.