This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| 4rpl:commands:copy [2021/01/08 16:01] – external edit 127.0.0.1 | 4rpl:commands:copy [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 6: | Line 6: | ||
| ===== Description ===== | ===== Description ===== | ||
| - | Creates a copy of the item on the stack with the same contents. Note that if the data is a table or list and contains | + | Creates a copy of the item on the stack with the same contents. Note that if the data is a table or list and contains other tables or lists, they will shared not copied. |
| ===== Examples ===== | ===== Examples ===== | ||
| Line 14: | Line 14: | ||
| SetListElement(< | SetListElement(< | ||
| Trace(< | Trace(< | ||
| - | Trace(<-lis2) | + | Trace(<-list2) |
| </ | </ | ||
| < | < | ||