| NEST HelpDesk | Command Index | NEST Quick Reference |
| Name: | copy - Copy the top n stack objects | ||
| Synopsis: | ... obj_n ... obj1 n copy -> ... obj_n ... obj1 obj_n ... obj1 | ||
| Examples: | 1 2 3 4 2 copy -> after this execution 1 2 3 4 3 4 lies on the stack (the last two elements were copied). | ||
| Diagnostics: | Raises StackUnderflow error if there are less than n+1 objects on the stack. | ||
| Author: | docu edited by Sirko Straube | ||
| Source: | /home/abuild/rpmbuild/BUILD/nest-2.4.1/sli/slistack.cc |
| NEST HelpDesk | Command Index | NEST Quick Reference |
© 2000-2010 The NEST Initiative