Loading

SNAPSHOTCOPYALLTOMARK

stack

The SNAPSHOTCOPYALLTOMARK function behaves like SNAPSHOTALLTOMARK but does not consume the elements of the stack, instead it produces WarpScript code which will regenerate the stack and its symbols as it was before the call and pushes this code on top of the stack.

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

SNAPSHOTCOPYALLTOMARK is available since version 1.2.5.

See also

Signatures

Examples

42 MARK 1 2 3 'a' STORE SNAPSHOTCOPYALLTOMARK