Loading

DUP

stack

The DUP function duplicates the element on the top of the stack, it doesn’t copy the content. If you apply DUP to a GTS you will have two references to the same GTS object on the stack.

If you want to make a deep copy of a GTS, i.e. if you want copy the content and not only the reference, you can use the CLONE function.

DUP is available since version 1.0.0.

See also

Signatures

Examples

123 DUP