Usage

Syntax: array.add(obj)

Explanation

Will add a variable (obj) to an array. The variable (obj) is added at the end of the array.

Example

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

... Will output {"foo", "bar", "baz"} in RC when on the serverside, or in your F2 menu when on the clientside.

Categories

CategoryObjectFunction
CategoryFunctionClientside
CategoryFunctionServerside
Comments [Hide comments/form]
Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki