Revision [628]

This is an old revision of new made by EditorDeas on 2010-05-14 02:38:56.
 
Usage

Syntax: var = new[int number];

Explanation

new[int n] initializes a new array of size 'n'.

Example

function onCreated()
{
  this.array = new[10];

  echo( this.array.size() );
  echo( this.array) ;
}


...Echos "10" and "0,0,0,0,0,0,0,0,0,0" to RC

Categories

CategoryLanguageConstruct

There are no comments on this page. [Add comment]

Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki