Ar DeepCopy

From GECK

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

(array) Ar_DeepCopy Source:array

Example

array_var aOriginal
array_var aClone

let aClone := Ar_DeepCopy aOriginal

See Also

Personal tools