Syntax
pop(array)
Description
The pop() function removes the element from the end of the array and returns that value
Example
a=[1,2,3,4,5] b=pop(a) println("a=",a) println("b=", b) a=[1, 2, 3, 4] b=5
pop(array)
The pop() function removes the element from the end of the array and returns that value
a=[1,2,3,4,5] b=pop(a) println("a=",a) println("b=", b) a=[1, 2, 3, 4] b=5