RemoveItem (Arraylist function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
m (1 revision)
Line 1: Line 1:
<span style="font-size:120%; color:black"><b><section begin=dpl_desc/>Remove item from Arraylist<section end=dpl_desc/></b></span>
{{Template:Arraylist:RemoveItem subtitle}}
[[Category:Arraylist methods|RemoveItem function]]
[[Category:Arraylist methods|RemoveItem function]]
<!--DPL?? Category:Arraylist methods|RemoveItem function: Remove item from Arraylist-->
<!--DPL?? Category:Arraylist methods|RemoveItem function: Remove item from Arraylist-->
Line 7: Line 7:


This callable method removes a specified item from the Arraylist.
This callable method removes a specified item from the Arraylist.
===Syntax===
==Syntax==
  [%num =] %arrayl:RemoveItem(number)
{{Template:Arraylist:RemoveItem syntax}}
====Syntax Terms====
===Syntax terms===
<dl>
<dl>
<dt><i>%num</i>
<dt><i>%num</i>

Revision as of 23:27, 19 January 2011

Remove item from Arraylist (Arraylist class)

RemoveItem is a member of the Arraylist class.

This callable method removes a specified item from the Arraylist.

Syntax

[%count =] al: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.