User Tools

Site Tools


xrpl:copylist

This is an old revision of the document!


CopyList

ArgumentsResultNotation
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 DeepCopyList. See Copy vs Deep Copy for more info.

Examples

Split("1,2,3,4,5,6" ",") ->list 
<-list CopyList ->list2 
SetListElement(<-list2 0 "banana") 
Trace(<-list) 
Trace(<-lis2) 
xrpl/copylist.1551648565.txt.gz ยท Last modified: 2019/03/03 16:29 by Karsten75