load: fileString -> ()
load reads the workspace file named filename and adds the object contained there into the workspace. If no extension is specified in filename, ".WSP" is automatically added as a default extension.
This function can overwrite objects in the current workspace. This happens, whenever an object in the loaded workspace has a name which was also present in the current workspace. In this case, to avoid losing data, saving the current workspace (using sync or save) should be considered before calling load.
An error condition arises, if the filename filename is invalid or the corresponding file cannot be read.
Loading workspace from salieri.wsp ... Done
Loading workspace from test.wsp ... Done
Error in command-line:
Can't open file: a.p.s
(occured while executing function "load").
See also: save, sync.