Usage
Syntax:
- var = new[n]
Explanation
new[n] initializes a new array of size 'n'.
Example
function onCreated() { this.array = new[10]; echo( this.array.size() ); echo( this.array) ; }
Echo's " 10 " and " 0,0,0,0,0,0,0,0,0,0 "
Categories
CategoryLanguageConstruct
There are no comments on this page. [Add comment]