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> gotoxy locate the cursor pp 134</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 GOTOXY                       Locate the Cursor                       pp 134

 Syntax:  GotoXY (Col, Row) ;

 Type:    N/A

 Form:    Procedure

 Purpose: Locate the cursor on the screen.

 Notes:   Text mode - 1,1 is upper left corner.
          Graphics  - 0,0 is upper left corner.
          320 x 200 - 0,319 is upper right corner.
          640 x 200 - 639,199 is lower right corner.


 Usage:
       BEGIN
          GotoXY (1,1) ;      { Locate in home position }
       END.

See Also: ClrScr GraphWindow Window

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