Ar DeepCopy

From GECK
Jump to: navigation, search


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