READ-FILE( ) method
- Last Updated: February 11, 2026
- 1 minute read
- OpenEdge
- Version 13.0
- Documentation
Clears an editor widget, reads the contents of a specified text file into the widget, and sets the widget's MODIFIED attribute to FALSE.
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 READ-FILE( ) method searches
PROPATHto find the file. The pathname can contain Unicode characters. See Internationalize ABL Applications for more information about Unicode.
If the operation is successful, the method returns TRUE.
In Windows, this method interprets a carriage return character followed by a line feed character as a text line terminator. In all other interfaces, this method interprets a carriage return character as a text line terminator.