SNAPSHOT
stackThe 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.