1Array.push(3kaya)            Kaya module reference           Array.push(3kaya)
2
3
4

NAME

6       Array::push - Push a value onto the end of an array.
7

SYNOPSIS

9       Void push( var [a] array, a v )
10

ARGUMENTS

12       array The array
13
14       v The value to push
15

DESCRIPTION

17       Push a value onto the end of an array.
18
19
20    array = [1,2,3];
21    push(array,4);
22    // array = [1,2,3,4]
23

AUTHORS

25       Kaya   standard  library  by  Edwin  Brady,  Chris  Morris  and  others
26       (kaya@kayalang.org). For further information see http://kayalang.org/
27

LICENSE

29       The Kaya standard library is free software;  you  can  redistribute  it
30       and/or  modify  it  under  the  terms  of the GNU Lesser General Public
31       License (version 2.1 or any later version) as  published  by  the  Free
32       Software Foundation.
33
35       Array.addAt (3kaya)
36       Array.pop (3kaya)
37       Array.shift (3kaya)
38       Array.unshift (3kaya)
39
40
41
42Kaya                             December 2010               Array.push(3kaya)
Impressum