◄Summary► ◄Details► ◄Example► ◄Back► Argument x New cursor position along the x (horizontal) axis y New cursor position along the y (vertical) axis Description The GotoXY procedure places the cursor at the specified coordinates within the current window. The maximum coordinate for each direction depends on the size of the window. The current window may be the default window or one defined with the Window procedure. An x coordinate of 1 represents the leftmost column in a window. A y coordinate of 1 represents the uppermost row. The maximum value for each coordinate that can be passed to GotoXY depends on the current window and the current video mode. GotoXY ignores arguments that are out of range. The Window procedure sets a window size, and the TextMode procedure sets a text display mode. The WhereX and WhereY functions return information about the location of the cursor relative to the current window.