User Tools

Site Tools


4rpl:commands:copy

Index

Copy

Copy (<-var) ->copiedVar

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 other tables or lists, they will shared not copied.

Examples

Split("1,2,3,4,5,6" ",") ->list
<-list Copy ->list2
SetListElement(<-list2 0 "banana")
Trace(<-list)
Trace(<-list2)

Index

4rpl/commands/copy.txt · Last modified: 2021/03/09 14:29 by Karsten75