The wherex function

Description

The wherex function returns the text mode screen's current x coordinate (i.e. the column where the next character written to the screen will be displayed). NOTE: Screen columns are numbered from one (not zero).

Parameter

None.

Portability

Operating Systems: Windows, and DOS
Standard Pascal: No