User Tools

Site Tools


4rpl:commands:dup

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
4rpl:commands:dup [2021/01/08 16:01] – created - external edit 127.0.0.14rpl:commands:dup [2025/02/14 14:57] (current) – external edit 127.0.0.1
Line 8: Line 8:
 Duplicates the item currently on the stack without removing the original item. Duplicates the item currently on the stack without removing the original item.
  
 +:WARNING: If you do the following, or something similar: ''CreateList dup ->list1 ->list2'' This will create a **shallow** copy of the list, so that any changes made to them will affect both. Use [[DeepCopy]].
 ===== Examples ===== ===== Examples =====
 <code 4rpl> <code 4rpl>
4rpl/commands/dup.1610121708.txt.gz · Last modified: 2025/02/14 14:56 (external edit)