DUP

Parameters

OrderNameTypeDesc
1aanyThe stack item to duplicate

Returns

Places an extra copy of the parameter on the stack. Does not consume the original parameter.

Description

This function duplicates the item on top of the stack. It's most commonly used when you need to use the same stack item as a parameter to consecutive commands.

See Also