.\" This man page is automatically generated using .\" kayadoc2man from the Kaya development tools and the -xmldocs compile .\" option. Editing it directly is not encouraged. .\" It is under the same license as the source .k file that it was .\" generated from. .TH "Array.createArray" "3kaya" "August 2014" "Kaya" "Kaya module reference" .SH "NAME" Array::createArray \- Create an array .SH "SYNOPSIS" .B [a] createArray( \fIInt size\fP .B ")" .SH "ARGUMENTS" .PP .B "size" The initial size of the array .SH "DESCRIPTION" .PP Create an array with an initial size of \fIsize\fP While arrays are automatically resized as necessary, it is more memory-efficient to only make arrays as large as necessary, if the final size of the array is known. .PP \fB[] \fP is equivalent to \fBcreateArray(1024) \fP Generally this is adequate - save the use of this function for the optimisation stage. .SH "AUTHORS" Kaya standard library by Edwin Brady, Chris Morris and others (kaya@kayalang.org). For further information see http://kayalang.org/ .SH LICENSE The Kaya standard library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (version 2.1 or any later version) as published by the Free Software Foundation. .SH "RELATED" .PD 0 .PP .B "Builtins.createString"(3kaya) .PD 0.4v