Version 6.3.8 für Windows
 —  Dialog Component Reference  —

INPUT-GET-LINE-LENGTH Action

This document covers the following topics:


Description

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

Top of page

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

Top of page