1Array.pop(3kaya) Kaya module reference Array.pop(3kaya)
2
3
4
6 Array::pop - Remove a value from the end of an array
7
9 Void pop( var [a] array )
10
12 array The array
13
15 Remove a value from the end of an array
16
17
18 array = [1,2,3];
19 pop(array);
20 // array = [1,2]
21
23 Kaya standard library by Edwin Brady, Chris Morris and others
24 (kaya@kayalang.org). For further information see http://kayalang.org/
25
27 The Kaya standard library is free software; you can redistribute it
28 and/or modify it under the terms of the GNU Lesser General Public
29 License (version 2.1 or any later version) as published by the Free
30 Software Foundation.
31
33 Array.push (3kaya)
34 Array.removeAt (3kaya)
35 Array.shift (3kaya)
36 Array.top (3kaya)
37 Array.unshift (3kaya)
38
39
40
41Kaya December 2010 Array.pop(3kaya)