PreviousNextIndex

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

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.


OpenEdge Release 10.2B
Copyright © 2009 Progress Software Corporation
PreviousNextIndex