Mwnci push() Function

Syntax

push(array, value)

Description

The push() will add the assigned value to the end of the named array. The return value will be the updated array.

Example

a=[1,2,3,4]
a=push(a,5)
println(a)
[1, 2, 3, 4, 5]