Loading

SAVE

stack

The SAVE function pushes onto the stack a context object which contains all the symbols currently defined in the current stack. This context can be passed as a parameter to the RESTORE function to later reset the symbol table to the state store in the context. Any symbol created after the context was saved and before it is restored will be discarded when RESTORE is called.

SAVE is available since version 1.0.0.

See also

Signatures

Examples

42 'a' STORE SAVE 'context' STORE 43 'a' STORE $context RESTORE $a