RemoveItem (Arraylist function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (review and edit for better wording)
m (review and edit for better wording)
Line 7: Line 7:
===Syntax terms===
===Syntax terms===
<table class="syntaxTable">
<table class="syntaxTable">
<tr><th><i>%count</i></th>
<tr><th>%count</th>
<td>An, optional, numeric variable to return the number of items in the <var>Arraylist</var> after the specified item is removed. </td></tr>
<td>An, optional, numeric variable to return the number of items in the <var>Arraylist</var> after the specified item is removed. </td></tr>
<tr><th><i><var class="term">al</var></i></th>
<tr><th><var class="term">al</var></th>
<td>An <var>Arraylist</var> object. </td></tr>
<td>An <var>Arraylist</var> object. </td></tr>
<tr><th><i>number</i></th>
<tr><th>number</th>
<td>A whole number greater than 0 to identify an <var class="term">al</var> item. If <var class="term">number</var> is greater than the number of items in the <var class="term">al</var>, or if it is less than or equal to zero, the request is cancelled.</td></tr>
<td>A whole number greater than 0 to identify an <var class="term">al</var> item. If <var class="term">number</var> is greater than the number of items in the <var class="term">al</var>, or if it is less than or equal to zero, the request is cancelled.</td></tr>
</table>
</table>

Revision as of 01:47, 2 February 2011

Remove item from Arraylist (Arraylist class)


This callable method removes a specified item from the Arraylist.

Syntax

[%count =] al:RemoveItem( number)

Syntax terms

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

See also