INSERT-FILE( ) method
- Last Updated: February 11, 2026
- 1 minute read
- OpenEdge
- Version 13.0
- Documentation
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
|
- 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
PROPATHto 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.