User Tools

Site Tools


prpl:copylist

<- PRPL reference <- Lists

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) 
prpl/copylist.txt · Last modified: 2017/08/30 14:05 by kajacx