Array.pushBack

Appends a value to the end of the array.

Arguments

The

value
to append.

Return values

None

Complexity

Constant (amortized). O(getSize) in the worst case.

Example

"sl/array" useFile a: (1 2 0 5 "Hello" 0.3) makeArray; 43 a.pushBack a [print "," print TRUE] enum
Output:
1,2,0,5,Hello,0.300000,43,