SNAPSHOT


stack
Since v1.2.13
Available on all platforms
See also

The SNAPSHOT functions produces a STRING which contains WarpScript code to regenerate the stack in the exact same state as when SNAPSHOT was called.

Note that some types of objects created by third party functions may not be serializable, SNAPSHOT will emit a STRING of the form UNSUPPORTED: class xxx when such a type is encountered.

The elements of the stack are consumed.

Signature

Examples

42 'foo' NOW SNAPSHOT DUP EVAL