WhereX
Jump to navigation
Jump to search
Returns the CP's X coordinate of the current cursor location.
- Declaration
function WhereX: Byte;
- Target
- Windows, Real, Protected
- Return Value
- 1-based. It corresponds to Cursor.X + 1.
- Sample Code
{WhereX.PAS} {Sample code for the WhereX function.} { For Windows: } { uses WinCrt; } uses Crt; begin Write('The number in this sentence is in the #'); Writeln(WhereX, ' column in this window.'); end.