Ar Append

< [[::Category:Functions|Category:Functions]]

A function added by the New Vegas Script Extender.

Description

Added by NVSE V4. Appends to the end of an existing regular array (list) a new element.

The regular array must have been initialized prior, for example by using Ar_Construct or Ar_List. This function can not be used to add elements to map or stringmap arrays.

Syntax

(None) Ar_Append list:array element:multi

Example

array_var MyList

let MyList := Ar_Construct "array"

Ar_Append MyList, SunnyREF

See Also