Release 10.1A: OpenEdge Development:
Progress 4GL Reference

> ## SAVE-FILE( ) method

> Saves the current contents of the editor widget to a specified text file and sets the widget’s MODIFIED attribute to FALSE.

> Return type: LOGICAL

> Applies to: EDITOR widget

> Syntax
>     SAVE-FILE ( filename )

> ``filename``

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

> If the save is not successful, it does not change the value of the MODIFIED attribute. If the save is successful, the method returns TRUE.

> In Windows, this method writes out text files with a carriage return character and a line feed character terminating each line of text. In all other interfaces, this method writes out text files with a carriage return character terminating each line of text. Also in Windows, RETURN key input writes out as x0d0d0a and in all other interfaces, writes out as x0d0a.

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