User Tools

Site Tools


prpl:copylist

Differences

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

Link to this comparison view

Next revision
Previous revision
prpl:copylist [2016/12/02 23:33] – external edit 127.0.0.1prpl:copylist [2025/02/14 14:57] (current) – external edit 127.0.0.1
Line 4: Line 4:
  
 ^Arguments^Result^Notation^ ^Arguments^Result^Notation^
-|list| list| [list- list] |+| list | list | [ list - list ] |
  
  
 === Description === === Description ===
-Creates a copy of a list with the same contents. Someone more computer-eloquent explain pass by reference vs. value here. Note that if the list contains other lists, they will not be copied - for that you need DeepCopyList. +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 === === Examples ===
prpl/copylist.1480721630.txt.gz · Last modified: 2025/02/14 14:56 (external edit)