In this section:
These call-back functions operate on a %eb (Edit Box) edit box in same same manner as EDIT_FILE_OPEN. If an edit box has not been filled using EDIT_FILE_OPEN, EDIT_FILE_SAVE operates like EDIT_FILE_SAVE_AS and displays the standard 'file save' dialog. Each call-back takes two character string arguments: one for the file pattern and the other for the resultant file name (see EDIT_FILE_OPEN above). The contents of the edit box are written to the file but the edit box is not closed.
An example program appears in A simple text editor.