Previous Next

READ-FILE( ) method
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:
Applies to:
 
Syntax 
READ-FILE ( filename )
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 PROPATH to find the file. The pathname can contain Unicode characters. See OpenEdge Development: Internationalizing 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.

Previous Next
© 2013 Progress Software Corporation and/or its subsidiaries or affiliates.