f$Word: Close document
f$Word: Close document
Close a specific document. If no document name is specified, the active document will be closed.
Syntax: | Status = f$Word('Close document','Document name',Save) | ||
| Argument | Type | Meaning |
| Close document | String | Keyword |
| Document name | String | Name of the document to be closed or '' to close the active document |
| Save | String | '', 'Yes' : Document will be saved |
Result: | Integer | 0: Command successfully executed -1: The specified document is not opened. | |
Example: | Status = f$Word('Close document','Offer.doc','') | ||