Array.Add

Parent Previous Next

Array.Add.

Appends an item at the end of the array. Returns Self for a possible continuation of operations.


Syntax.


 Add(Type item) : <Self>

 


Arguments:


Example:


 Integer arr[] := [0, 1, 2];

 arr[].Add(3).Add(4); //Now arr[] ~ [0,1,2,3,4];