Example Context loadWorkspace 001

 

 

Description

This example saves, loads and displays the workspace using the saveWorkspace and loadWorkspace functions.

 

Details

(clear) Returns: true

Create and initialize a global variable.

(setq mtest "hello") Returns: hello

The current workspace is saved.

(saveWorkspace "workspace.db") Returns: true

The current workspace is cleared.

(clear) Returns: true

There is no previously saved value for mtest.

(writeln mtest) Returns: #void
(loadWorkspace "workspace.db" ) Returns: true

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

(writeln mtest) Returns: hello

 

Related Examples

Here are examples of the loadWorkspace function at work.

Context loadWorkspace 001 Context loadWorkspace 002 Context preAllocateFixedMemoryBlocks 001

 

Function Links

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

loadWorkspace

Here are a number of links to other related functions.

saveWorkspace(#void)

 

Argument Types

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

Context

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