Usage

Syntax: array.delete(int index);

Explanation

Removes the data at the index given.

Example

function onCreated()
{
  temp.foo = {"foo", "bar", "baz"};
  temp.foo.delete(1);
}

... Will set temp.foo to {"foo", "baz"}, since index 1 is removed from the array. Indexes starts at 0.

Categories

CategoryObjectFunction
CategoryFunctionClientside
CategoryFunctionServerside

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

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