Progress
Language 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

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.

On 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 © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095