position

Definition: position(integer line, integer column)
Description: Set the cursor to line, column, where the top left corner of the screen is line 1, column 1. The next character displayed on the screen will be printed at this location. position() will report an error if the location is off the screen.
Example:
position(2,1)
-- the cursor moves to the beginning of the second line from
-- the top
See Also: get_position, puts, print, printf