RemoveItem (NamedArraylist function)

From m204wiki
Revision as of 22:34, 6 February 2011 by Wiccan (talk | contribs) (1 revision)
Jump to navigation Jump to search

<section begin=dpl_desc/>Remove item from NamedArraylist<section end=dpl_desc/>

RemoveItem is a member of the NamedArraylist class.

This callable function removes from the NamedArraylist the item that has the specified subscript name.

Syntax

[%num =] %namrayl:RemoveItem(name)

Syntax terms

%num A numeric variable to contain the number of items in the NamedArraylist after the specified item is removed.
%namrayl A NamedArraylist object.
name A string that serves as a subscript to identify a %namrayl item.

If no item in %namrayl has the specified subscript name, the request is cancelled, regardless of the setting of UseDefault.