1Array.createArray(3kaya) Kaya module reference Array.createArray(3kaya)
2
3
4
6 Array::createArray - Create an array
7
9 [a] createArray( Int size )
10
12 size The initial size of the array
13
15 Create an array with an initial size of size
16 While arrays are automatically resized as necessary, it is more mem‐
17 ory-efficient to only make arrays as large as necessary, if the final
18 size of the array is known.
19
20 [] is equivalent to createArray(1024)
21 Generally this is adequate - save the use of this function for the
22 optimisation stage.
23
25 Kaya standard library by Edwin Brady, Chris Morris and others
26 (kaya@kayalang.org). For further information see http://kayalang.org/
27
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 Builtins.createString (3kaya)
36
37
38
39Kaya December 2010 Array.createArray(3kaya)