User Tools

Site Tools


xrpl:copylist

Differences

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

Link to this comparison view

xrpl:copylist [2019/03/03 16:29] – created Karsten75xrpl:copylist [2021/03/24 11:59] (current) – removed Karsten75
Line 1: Line 1:
- 
-=====  CopyList   ===== 
- 
-^Arguments^Result^Notation^ 
-| list | list | [ list - list ] | 
- 
- 
-=== Description === 
-Creates a copy of a list with the same contents. Note that if the list contains other lists, they will not be copied - for that you need [[.:prplreference#DeepCopyList|DeepCopyList]]. See [[.:copy_vs_deep_copy|Copy vs Deep Copy]] for more info. 
- 
-=== Examples === 
-<code>Split("1,2,3,4,5,6" ",") ->list  
-<-list CopyList ->list2  
-SetListElement(<-list2 0 "banana" 
-Trace(<-list)  
-Trace(<-lis2)  
-</code> 
  
xrpl/copylist.1551648565.txt.gz · Last modified: 2019/03/03 16:29 by Karsten75