Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Turbo Pascal - <b> wherex return cursor column position pp 162</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 WHEREX                 Return Cursor Column Position                 pp 162

 Syntax:  WhereX ;

 Type:    Integer

 Form:    Function

 Purpose: Return the current column coordinate of the cursor.


 ----------------------------------------------------------------------------


 Usage:
       VAR
          RowLoc : Integer ;  { Holds Y location }
          ColLoc : Integer ;  { Holds X location }

       BEGIN
          RowLoc := WhereY ;  { Get Y location   }
          ColLoc := WhereX ;  { Get X location   }
       END.

See Also: GotoXY WhereY

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson