contents.gifprev1.gifnext1.gif

CURRENT_ROW

Description:

CURRENT_ROW is the screen line number of the current window. Position is based on the last call to the screen manager or the built-in UPDATE. Value is the range 1 <<= row <<= SCREEN_LINES. It is possible for edit changes to have taken place which cause this value to be out of date.

If you want to ensure the proper value is returned, place a call to the UPDATE built-in before using CURRENT_ROW.

Syntax:

integer := CURRENT_ROW

Example:

The following places the current screen row value in ROW$NUM.

ROW$NUM := CURRENT_ROW;

Related Builtins:

CURRENT_LINE

UPDATE