[Contents] · [Home] · [Mail]

SALIERI Language - save

Type:
save: fileString -> ()

Call syntax:
save(filename)

Description:
save writes the contents of the current workspace into a file named filename. If this file already exists, it is overwritten without warning. If no extension if specified in filename, ".WSP" is automaticallyy added as a default extension.

Error conditions:
An error condition arises, if the filename filename is invalid or the corresponding file cannot be written.

Example:
> save("test")
Saving workspace to test.wsp ... Done
> save("test.www")
Saving workspace to test.www ... Done
> save("Z:\nowhere\test")
Error in command-line:
Can't open file: Z:\nowhere\test.wsp
(occured while executing function "save")

See also: load, sync.


[Contents] · [Home] · [Mail]
© sic!systems, page frame designed by hh; this page has been automatically generated from the SALIERI Documentation Database.