RemoveItem (FloatNamedArraylist function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
m (1 revision)
Line 13: Line 13:
===Syntax terms===
===Syntax terms===
<table class="syntaxTable">
<table class="syntaxTable">
<tr><th><i>%num</i></th>
<tr><th>%num</th>
<td>A numeric variable to contain the number of items in the FloatNamedArraylist after the specified item is removed. </td></tr>
<td>A numeric variable to contain the number of items in the FloatNamedArraylist after the specified item is removed. </td></tr>
<tr><th><i>%fnamrayl</i></th>
<tr><th>%fnamrayl</th>
<td>A FloatNamedArraylist object. </td></tr>
<td>A FloatNamedArraylist object. </td></tr>
<tr><th><i>subscript</i></th>
<tr><th>subscript</th>
<td>A numeric value that serves as a subscript to identify a ''%fnamrayl'' item.
<td>A numeric value that serves as a subscript to identify a ''%fnamrayl'' item.
  If no item in ''%fnamrayl'' has the specified subscript, the request is cancelled, regardless of the setting of [[UseDefault (FloatNamedArraylist property)|UseDefault]].</td></tr>
  If no item in ''%fnamrayl'' has the specified subscript, the request is cancelled, regardless of the setting of [[UseDefault (FloatNamedArraylist property)|UseDefault]].</td></tr>
</table>
</table>

Revision as of 17:28, 4 February 2011

<section begin=dpl_desc/>Remove item from FloatNamedArrayli<section end=dpl_desc/>

RemoveItem is a member of the FloatNamedArraylist class.

This callable function removes from the FloatNamedArraylist the item that has the specified subscript number.

Syntax

[%num =] %fnamrayl:RemoveItem(subscript)

Syntax terms

%num A numeric variable to contain the number of items in the FloatNamedArraylist after the specified item is removed.
%fnamrayl A FloatNamedArraylist object.
subscript A numeric value that serves as a subscript to identify a %fnamrayl item. If no item in %fnamrayl has the specified subscript, the request is cancelled, regardless of the setting of UseDefault.