@GET_COLUMN

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

SYNTAX

@GET_COLUMN (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

IF:10 (@GET_COLUMN(DATA_ID) EQ NAME.POSITION)
     ...
CONTINUE:10

This example illustrates the use of @GET_COLUMN in determining which portion of the window that is being processed.  If the current column position is in the named area of the window, the appropriate action is performed.

Back to System Functions    Next Page @GET_ROW