Loading

DUP


stack
Since v1.0.0
Available on all platforms
See also

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.

Signature

Examples

123 DUP