Expand/Shrink

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.
pwa/p2js: Not supported
Example:
position(2,1)
-- the cursor moves to the beginning of the second line from
-- the top
Implementation: via :%opPosition / fposition() in builtins\VM\pfileioN.e (an autoinclude).
See Also: get_position, puts, print, printf. There is also a JavaScript elem.style.position attribute.