^some_file.save[format;filename]
^some_file.save[format;filename;options] [3.4.0]
Method saves object to file in specified format and with specified name.
format-format of saving file (text or binary)
filename-name of file and path for the file to be saved
options-hash, in which you can specify $.charset[charset] of saving text file Note: if file with specified filename is exist, it will be overwrited. Note: to append some text to a file, use ^string.save[append; ].
Example ^archive.save[text;/arch/archive.txt]
This code will save object of class file as archive.txt in text format to directory /arch/.