User Tools

Site Tools


4rpl:commands:copy

Differences

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

Link to this comparison view

Next revision
Previous revision
4rpl:commands:copy [2021/01/08 16:01] – external edit 127.0.0.14rpl: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 contains other tables or lists, they will shared not copied.+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(<-list2 0 "banana") SetListElement(<-list2 0 "banana")
 Trace(<-list) Trace(<-list)
-Trace(<-lis2)+Trace(<-list2)
 </code> </code>
 <=[[4rpl:start| Index]] <=[[4rpl:start| Index]]
  
4rpl/commands/copy.1610121708.txt.gz · Last modified: 2025/02/14 14:56 (external edit)