CursorTo - move the cursor

Return to Introduction  Previous page  Next page

CursorTo(position)

CursorTo(row,column)

Where:

 

position

is the screen position relative to one.

row

is a  row number.

column

is a column number.

position, row and/or column may be variables.

The CursorTo command moves the cursor to the specified position or the specified row and column. The upper left-hand corner of the screen is position 1 or  row 1 column 1. The lower right-hand corner of a 24 by 80 screen is position 1920 or row 24 column 80.

Examples

CursorTo(1)

CursorTo(81)

CursorTo(1,1)

CursorTo(24,80)

CursorTo($POSITION)

CursorTo($ROW,$COLUMN)

 

Restrictions:

 

CursorTo is not supported for ANSI and VTxxx terminal emulation.

 

See Also:

 

Script Command Summary

Script Variables

Using the Scripting Language


TN3270 Plus is continually being improved. To learn more about the latest enhancements, please review our Version History web page.