@GET_ROW

@GET_ROW returns an integer value which is the cursor's current row position in the specified window.  This position is relative to the window, not the screen.

SYNTAX

@GET_ROW (window_id)

window_id

is an integer system field, Global Storage (GS) field, or user-defined field that contains the window ID assigned to the window.

EXAMPLE

@GET_ROW(DATA_ID)+2 TO NEW_ROW
...
SCREEN PASTE_WINDOW USING HELP_ID,NEW_ROW,2

This example demonstrates the use of @GET_ROW in the placement of an overlaid help box.  Using this system function, the help box can be dynamically pasted two rows below the current cursor position without covering the information pointed to by the cursor.

Back to @GET_COLUMN    Next page @READ_CHAR