Skip to content

COLUMN

FUNCTION

This variable interacts with the INPUT SCREEN command. It returns the column position of the current field as a numeric value between 0 and the width of the screen.

SYNTAX

screen-name.[data-name.]COLUMN
screen-name
the name of a screen defined in Dictionary-IV.
data-name.
a data name used in the specified screen-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 column number of the data-name.
  • The information obtained with the COLUMN variable is useful for displaying information on the screen from within a pre-processing or post-processing procedure.

EXAMPLES

LET FLO-COL = 4SSCRN.COLUMN
FLO-LINE = 4SSCRN.LINE
CODE-COL = 4SSCRN.CUST-CODE.COLUMN

SEE ALSO

FIELD, INPUT SCREEN, LENGTH, LINE, SN, TERM-KEY

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