Documentation Comments
Use this form to comment on this topic. You can also provide any general observations about the Online Documentation, or request that additional information be added in a future release.
Reality V15.0 ()
FS - File Save (Editor) (m618503+fs.htm)
Files the edited item and retains control in the Editor. The line pointer is set to zero.
Caution
When using this command, you need to be aware of the effects of any file triggers that might be run as consequence. See File Triggers for more information.
FS{K}{O} {(file-specifier} {item-id}{)}
K indicates that you wish to terminate the item list.
O indicates that you wish to overwrite an existing item with the same item-id. You only need to specify O if writing to another item or file (if writing to the current item and file, overwrite of any existing item is automatic).
(file-specifierspecifies write the item to another file (not the one used with the EDIT command). The item of the same name in the original file is not changed.
Note: A file specification must be identified by an open parenthesis preceding it.
item-id is a new name for this
item, within the current file if file-specifier is omitted, otherwise
within the file specified. Omit if you want to use the existing
If you attempt to file an item to a different file which already contains
an item with the same item-id, and you do not specify O, the
Editor displays the message EXISTS
, resets the line pointer to the top of the item, and retains
control for the Editor processor.
You can file an item under a new item-id within the current file if you issue FS or FSO without specifying a file.
To terminate a multiple item EDITing session after you file an item but before you edit the last item in the list, use the FSK command.
:ED COMPANY XYZ1
|
Edit item XYZ1 in the
COMPANY file. File the changes and remain in the Editor. |
:ED COMPANY XYZ1
|
Edit
item XYZ1 in the COMPANY file. File the item into the CUSTOMER2 file, then remain in the Editor. |