Try OpenEdge Now
skip to main content
ABL Reference
Handle Attributes and Methods Reference : INSERT-FILE( ) method
 

INSERT-FILE( ) method

Inserts the text of filename into the editor widget at the current location of the text cursor.
Return type: LOGICAL
Applies to: EDITOR widget

Syntax

INSERT-FILE ( filename )
filename
A character-string expression equal to the full or relative pathname of a file. If you specify a relative pathname, the INSERT-FILE( ) method searches PROPATH to find the file.
If the text insertion is successful, the method returns TRUE.
Note: This method replaces each horizontal tab character with eight spaces as it inserts the text into the widget.