NEST HelpDesk | Command Index | NEST Quick Reference |
dup - Duplicate the object which is on top of the stackSynopsis:
any dup -> any anyExamples:
2 dup -> 2 2Diagnostics:
(hello) dup -> (hello) (hello)
Raises StackUnderflow error if the stack is empty.Author:
docu edited by Sirko StraubeSeeAlso: Source:
/builddir/build/BUILD/nest-simulator-2.14.0/sli/slistack.cc
NEST HelpDesk | Command Index | NEST Quick Reference |
© 2004 The NEST Initiative