Command: dup

NEST HelpDesk Command Index NEST Quick Reference

Name:
 dup - Duplicate the object which is on top of the stack
Synopsis:
 any dup -> any any
Diagnostics:
 Raises StackUnderflow error if the stack is empty.
Examples:
 2 dup -> 2 2
(hello) dup -> (hello) (hello)
Author:
 docu edited by Sirko Straube
SeeAlso:over index copy
Source:
 /home/abuild/rpmbuild/BUILD/nest-2.4.1/sli/slistack.cc

NEST HelpDesk Command Index NEST Quick Reference

© 2000-2010 The NEST Initiative