Arbortext Command Language > Functions by Alphabetical Listing > save_some_docs
  
save_some_docs
save_some_docs ([noprompt])
This function loops through the list of modified documents and prompts the user whether to save each one. If noprompt is true (non-zero), it saves all changes without prompting. The exit_editor function calls this function if its second argument is not 2.
The function returns 1 on success, 0 if there was an error saving a document, or -1 if the user selected Cancel on a prompt to save a document.
Related Topics
exit_editor function