Example Context saveWorkspace 001




This example saves, loads and displays the workspace using the saveWorkspace and loadWorkspace functions. These functions recreate the conditions in the current Workspace as they were when "myworkspace" was saved.



The original value of x is saved.

(setq x 22) Returns: 22
x Returns: 22

The original value of x is saved in the current workspace.

(saveWorkspace "workspace.db") Returns: true

A new value of x is set.

(setq x 33) Returns: 33
x Returns: x
(loadWorkspace "workspace.db" ) Returns: true

The saved value of x the currently loaded workspace is displayed.

x Returns: 22


Related Examples

Here are examples of the saveWorkspace function at work.

Context saveWorkspace 001


Function Links

Here is the link to the current function used in this example.


Here are a number of links to other related functions.



Argument Types

Here are the links to the data types of the arguments used in this example.


Here are a number of links to examples having similar argument types.

Context clear 001 Context debug 001 Context debugBrowsableProcs 001 Context disassemble 001
Context evalInSyncLocalContext 001 Context getGlobalValue 001 Context getSymbolTable 001 Context inspect 001
Context loadWorkspace 001 Context loadWorkspace 002 Context preAllocateFixedMemoryBlocks 001 Context reset 001
Context saveWorkspace 001 Context systemCheck 001 Context version 001

Analytic Information Server (AIS)

AIS Component Systems

  • Smartbase Engine
  • QT C++ Libraries
  • MySQL Relational Database
  • AIS Lisp Libraries
  • Rapid Analytic Demo IDE