Progress
Language Reference


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: LOGICAL

Applies To: Editor

SYNTAX
READ-FILE ( filename ) 

filename

A character-string expression of a full or relative pathname of a file.

The READ-FILE( ) method searches the PROPATH to find the file. If the operation is successful, the method returns TRUE.

On 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.


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095