SCR_LINE( )

The SCR_LINE( ) function returns a positive integer, corresponding to the number of the current screen record in its screen array during a DISPLAY ARRAY or INPUT ARRAY statement.

4GLREF00000098.gif

The current screen record is the line of a screen array that contains the screen cursor at the beginning of a BEFORE ROW or AFTER ROW clause.

The first record of the program array and of the screen array are both numbered 1. The built-in 4GL functions SCR_LINE( ) and ARR_CURR( ) can return different values if the program array is larger than the screen array.

References

ARR_COUNT( )

ARR_CURR( )