CRT Documentation: Reference

GotoXy

[This procedure has changed from its original DOS version.]

Moves the cursor to the given coordinates within the virtual screen.

procedure GotoXy(
  X,
  Y: integer
);

Parameters

X
[in] New column
Y
[in] New row

Remarks

The upper-left corner of the virtual screen corresponds to (1, 1). This Delphi version of GotoXy takes integers instead of bytes for parameters.

See Also

Crt Overview, WhereX, WhereY, Window