Ar DeepCopy

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
< [[::Category:Functions|Category:Functions]]

A function added by the New Vegas Script Extender.

Description

Returns an identical copy of the specified array. Unlike Ar_Copy, if the specified array contains nested arrays then these are also copied (not just referenced) as well, recursively.

Syntax

[help]
(array) Ar_DeepCopy Source:array

Example

array_var aOriginal
array_var aClone

let aClone := Ar_DeepCopy aOriginal

See Also