This document covers the following topics:
Gets the length of a line in an Edit Area Control or in an Input Field Control .
Name/Data Type | Explanation |
---|---|
HANDLE OF EDITAREA or
INPUTFIELD |
Input
Specifies an Edit Area Control or an Input Field Control. |
Line number (I4) | Input
Length is retrieved from this line. |
Line length (I4) | Output
Returns the line length. |
Response (I4) | Output
Natural error (if applicable). |
#LINE-NUMBER := 1 /* Examine the first line PROCESS GUI ACTION INPUT-GET-LINE-LENGTH WITH #EA-1 #LINE-NUMBER #LINE-LENGTH GIVING #RESPONSE #IF-1.STRING := #LINE-LENGTH /* Display the result in this Input Field Control