RemoveItem (NamedArraylist 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 NamedArraylist<section end=dpl_desc/></b></span>
{{Template:NamedArraylist:RemoveItem subtitle}}
[[Category:NamedArraylist methods|RemoveItem function]]
<!--DPL?? Category:NamedArraylist methods|RemoveItem function: Remove item from NamedArraylist-->
<p>
RemoveItem is a member of the [[NamedArraylist class]].
</p>


This callable function removes from the NamedArraylist
This callable function removes from the NamedArraylist
the item that has the specified subscript name.
the item that has the specified subscript name.
==Syntax==
==Syntax==
<p class="code">[%num =] %namrayl:RemoveItem(name)
{{Template:NamedArraylist:RemoveItem syntax}}
</p>
===Syntax terms===
===Syntax terms===
<table class="syntaxTable">
<table class="syntaxTable">
Line 22: Line 16:
</p>
</p>
</table>
</table>
==See also==
{{Template:NamedArraylist:RemoveItem footer}}

Revision as of 04:19, 7 February 2011

Remove item from NamedArraylist (NamedArraylist class)


This callable function removes from the NamedArraylist the item that has the specified subscript name.

Syntax

[%count =] nal:RemoveItem( string)

Syntax terms

%num A numeric variable to contain the number of items in the NamedArraylist after the specified item is removed.
%namrayl A NamedArraylist object.
name A string that serves as a subscript to identify a %namrayl item.

If no item in %namrayl has the specified subscript name, the request is cancelled, regardless of the setting of UseDefault.

See also