Difference between revisions of "Array.clone()"

From ZCubes Wiki
Jump to navigation Jump to search
(Created page with "* << Z3 Home * Z3 Language Documentation * Z%5E3_Array_Manipulation_Member_Functions | Listing of Z3 Array Manipulation Member F...")
 
 
(2 intermediate revisions by the same user not shown)
Line 6: Line 6:
 
==Array.clone() ==
 
==Array.clone() ==
  
Create a clone of the array
+
Create a clone of the array.Helpful to avoid by reference issues when array elements are overwritten etc.
 +
 
 +
==See Also==
 +
[[Array.copy() |copy]]
 +
 
 +
[[Array.deepcopy() |deepcopy]]

Latest revision as of 03:04, 30 April 2020


Array.clone()

Create a clone of the array.Helpful to avoid by reference issues when array elements are overwritten etc.

See Also

copy

deepcopy