Ar Append
From GECK
(Redirected from Ar append)
A function added by the New Vegas Script Extender.
Contents
Description
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 Ar_Append MyList, 1.5 ; * MyList now contains: SunnyREF, 1.5
See Also
- Array Variables
- Ar_Insert
- Ar_Cat can be used to append all elements from one array to another.
- Ar_Resize
- Ar_Construct
- Ar_List
- Let