RemoveItem (Arraylist function)

From m204wiki
Revision as of 21:26, 4 January 2011 by Admin (talk | contribs) (1 revision)
Jump to navigation Jump to search

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

RemoveItem is a member of the Arraylist class.

This callable method removes a specified item from the Arraylist.

Syntax

  [%num =] %arrayl:RemoveItem(number)

Syntax Terms

%num
A numeric variable to contain the number of items in the Arraylist after the specified item is removed.
%arrayl
An Arraylist object.
number
A whole number greater than 0 to identify an %arrayl item. If number is greater than the number of items in the %arrayl, or if it is less than or equal to zero, the request is cancelled.