Previous Next

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:
Applies to:
 
Syntax 
SAVE-FILE ( filename )
filename
A character-string expression of the absolute or relative pathname of a file. If you specify a relative pathname, it is relative to the current working directory. The pathname can contain Unicode characters. See OpenEdge Development: Internationalizing Applications for more information about Unicode.
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.

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