INPUT-GET-LINE-LENGTH Action

#### Search Results

Search

# INPUT-GET-LINE-LENGTH Action

This document covers the following topics:

- Description

- Parameters

## Description

Gets the length of a line in an Edit Area Control or in an Input Field Control .

## Parameters

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).

#### Example:

       #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

### On this page

- Description
- Parameters