CursorTo

<< Click to Display Table of Contents >>

Navigation:  Support for TN3270 Plus™ macros >

CursorTo

Description

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..

Syntax

CursorTo(position) or CursorTo position

 

CursorTo(row,column) or CursorTo row,column

Parameters

Part

Type

Description

Position

Integer

Required. The screen position relative to one.

Row

Integer

Required. Row number.

Col

Integer

Required. Column number.

Examples

CursorTo(1)

 

CursorTo(81)

 

CursorTo(1,1)

 

CursorTo(24,80)

 

CursorTo($POSITION)

 

CursorTo($ROW,$COLUMN).