Skip to content

LINE

FUNCTION

This variable interacts with the INPUT SCREEN command. It returns the line number of the current field as a numeric value between 0 and the length of the screen. It can be used in a pre-processing or post-processing procedure.

SYNTAX

screen-name.[data-name.]LINE
screen-name
the name of a screen defined in Dictionary-IV.
data-name
a data name.

NOTES

  • This variable must be qualified by the name of the screen. The screen name is delimited by a period. The optional data-name is also delimited by a period.
  • The data-name option enables you to specify the line number of the data-name.
  • The information obtained with the LINE variable is useful for displaying information on the screen from within a pre-processing or post-processing procedure.

EXAMPLES

LET START-LINE = 4SSCRN.LINE

SEE ALSO

COLUMN, FIELD, INPUT SCREEN, LENGTH, SN

From the Script-IV Language Reference, version 8.9.1. Open this page in the PDF