LENGTH
FUNCTION
This variable interacts with the INPUT SCREEN command. It returns the length of the current field input window as a numeric value between 1 and the defined length of the field. It can be used in a pre-processing or post-processing procedure.
SYNTAX
screen-name.[data-name.]LENGTH- 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 display length of the data-name.
- The information obtained with the LENGTH variable is useful for displaying information on the screen from within a pre-processing or post-processing procedure.
EXAMPLES
DIM M$(4SCUST.CUST-CODE.LENGTH)SEE ALSO
COLUMN, FIELD, INPUT SCREEN, LINE, SN
From the Script-IV Language Reference, version 8.9.1. Open this page in the PDF