The gotoxy procedure

Description

The gotoxy procedure moves the text mode cursor to a specified (x, y) coordinate on the screen.

Parameter

  1. The first parameter is an expression of integral type which specifies the x coordinate to move the cursor to.
  2. The second parameter is an expression of integral type which specifies the y coordinate to move the cursor to.

Example

   gotoxy(1,1)  moves the cursor to the top left-hand corner of the screen.

Portability

Operating Systems: Windows and DOS
Standard Pascal: No