Usage

Syntax: array.size()
Returns int.

Explanation

Returns the amount of members an array has.

Example

function onCreated()
{
  temp.array = {"foo", "bar", "baz"};
  echo(temp.array.size());
}

... Will output 3 in RC when on the serverside, or in your F2 menu when on the clientside.

Categories

CategoryObjectFunction
CategoryFunctionClientside
CategoryFunctionServerside

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

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