NEST HelpDesk | Command Index | NEST Quick Reference |
copy - Copy the top n stack objectsSynopsis:
... obj_n ... obj1 n copy -> ... obj_n ... obj1 obj_n ... obj1Examples:
1 2 3 4 2 copyDiagnostics:
-> after this execution 1 2 3 4 3 4 lies on the stack (the last two elements
were copied).
Raises StackUnderflow error if there are less than n+1 objects onAuthor:
the stack.
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