This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| crpl:docs:dup [2013/01/14 19:02] – created virgilw | crpl:docs:dup [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | TODO | + | |
| + | <- [[crpl: | ||
| + | ===== dup ===== | ||
| + | |||
| + | ^Arguments^Result^Notation^ | ||
| + | |Some item on the stack|Two copies of the item on the stack |'' | ||
| + | |||
| + | |||
| + | === Description === | ||
| + | Duplicates the item currently on the stack without removing the original item. | ||
| + | === Examples === | ||
| + | < | ||
| + | #Square a number | ||
| + | 5 dup mul | ||
| + | </ | ||