SAVE


stack
Since v1.0.0
Available on all platforms
See also

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.

Signature

Examples

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