RemoveItem (UnicodeNamedArraylist function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
 
(8 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Template:UnicodeNamedArraylist:RemoveItem subtitle}}
{{Template:UnicodeNamedArraylist:RemoveItem subtitle}}


This callable function removes from the UnicodeNamedArraylist
<var>RemoveItem</var> removes the item, that has the specified subscript name, from the <var>UnicodeNamedArraylist</var>.  
the item that has the specified subscript name.
 
==Syntax==
==Syntax==
{{Template:UnicodeNamedArraylist:RemoveItem syntax}}
{{Template:UnicodeNamedArraylist:RemoveItem syntax}}
===Syntax terms===
===Syntax terms===
<table class="syntaxTable">
<table class="syntaxTable">
<tr><th>%num</th>
<tr><th>%count</th>
<td>A numeric variable to contain the number of items in the UnicodeNamedArraylist after the specified item is removed. </td></tr>
<td>An, optional, numeric variable to contain the number of items remaining in the <var>UnicodeNamedArraylist</var> after the specified item is removed.</td></tr>
<tr><th>%unamrayl</th>
<tr><th>uniNal</th>
<td>A UnicodeNamedArraylist object. </td></tr>
<td>A <var>UnicodeNamedArraylist</var> object. </td></tr>
<tr><th>name</th>
<tr><th>unicode</th>
<td>A Unicode string that serves as a subscript name to identify a ''%unamrayl'' item.
<td>A Unicode string that serves as a subscript name to identify a <var class="term">uniNal</var> item.</td></tr>
If no item in ''%unamrayl'' has the specified subscript, the request is cancelled, regardless of the setting of [[UseDefault (UnicodeNamedArraylist property)|UseDefault]].</td></tr>
</table>
</table>
==Usage notes==
==Usage notes==
<ul>
<ul><li>If <var>RemoveItem</var> cannot find an item in the <var>UnicodeNamedArraylist</var> with the specified subscript name, the request is cancelled, regardless of the setting of <var>[[UseDefault (UnicodeNamedArraylist property)|UseDefault]]</var>.
<li>For an example using the RemoveItem method, see [[UnicodeNamedArraylist class]].
</ul>
</ul>
==Examples==
For an example using <var>RemoveItem</var>, see [[UnicodeNamedArraylist class|"UnicodeNamedArraylist class"]].
==See also==
==See also==
{{Template:UnicodeNamedArraylist:RemoveItem footer}}
{{Template:UnicodeNamedArraylist:RemoveItem footer}}

Latest revision as of 20:38, 1 November 2012

Remove item from UnicodeNamedArraylist (UnicodeNamedArraylist class)


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

Syntax

[%count =] uniNal:RemoveItem( unicode)

Syntax terms

%count An, optional, numeric variable to contain the number of items remaining in the UnicodeNamedArraylist after the specified item is removed.
uniNal A UnicodeNamedArraylist object.
unicode A Unicode string that serves as a subscript name to identify a uniNal item.

Usage notes

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

Examples

For an example using RemoveItem, see "UnicodeNamedArraylist class".

See also