RemoveItem (Arraylist function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
m (1 revision)
Line 10: Line 10:
{{Template:Arraylist:RemoveItem syntax}}
{{Template:Arraylist:RemoveItem syntax}}
===Syntax terms===
===Syntax terms===
<dl>
<table class="syntaxTable">
<dt><i>%num</i>
<tr><th><i>%num</i></th>
<dd>A numeric variable to contain the number of items in the Arraylist
<td>A numeric variable to contain the number of items in the Arraylist after the specified item is removed. </td></tr>
after the specified item is removed.
<tr><th><i>%arrayl</i></th>
<dt><i>%arrayl</i>
<td>An Arraylist object. </td></tr>
<dd>An Arraylist object.
<tr><th><i>number</i></th>
<dt><i>number</i>
<td>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.</td></tr>
<dd>A whole number greater than 0 to identify an ''%arrayl'' item.
</table>
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.
 
</dl>

Revision as of 23:28, 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.