RemoveItem (NamedArraylist function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (match syntax table to syntax template (will need to be redone when syntax template is fixed) tags and edits)
m (update syntax terms to match corrected template)
 
Line 7: Line 7:
===Syntax terms===
===Syntax terms===
<table class="syntaxTable">
<table class="syntaxTable">
<tr><th>%number</th>
<tr><th>%count</th>
<td>An, optional, numeric variable to contain the number of remaining items in the <var>NamedArraylist</var> after the specified item is removed. </td></tr>
<td>An, optional, numeric variable to contain the number of remaining items in the <var>NamedArraylist</var> after the specified item is removed. </td></tr>
<tr><th>nal</th>
<tr><th>nal</th>

Latest revision as of 22:39, 18 March 2011

Remove item from NamedArraylist (NamedArraylist class)


RemoveItem removes the item, that has the specified subscript name, from the NamedArraylist.

Syntax

[%count =] nal:RemoveItem( string)

Syntax terms

%count An, optional, numeric variable to contain the number of remaining items in the NamedArraylist after the specified item is removed.
nal A NamedArraylist object.
string A string that serves as a subscript to identify a nal item to be removed.

Usage Notes

  • If RemoveItem cannot find an item in NamedArraylist with the specified subscript name, the request is cancelled, regardless of the setting of UseDefault.

See also