RemoveItem (Arraylist function)

From m204wiki
Revision as of 21:07, 4 January 2011 by 198.242.244.47 (talk) (Created page with "<span style="font-size:120%; color:black"><b><section begin=dpl_desc/>Remove item from Arraylist<section end=dpl_desc/></b></span> [[Category:Arraylist methods|RemoveItem functio...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.