Number (FloatNamedArraylist 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/>Item number of specified item<section end=dpl_desc/></b></span>
{{Template:FloatNamedArraylist:Number subtitle}}
[[Category:FloatNamedArraylist methods|Number property]]
<!--DPL?? Category:FloatNamedArraylist methods|Number property: Item number of specified item-->
<p>
Number is a member of the [[FloatNamedArraylist class]].
</p>


This ReadOnly property returns the item number (ordinal) of the item that has the
This ReadOnly property returns the item number (ordinal) of the item that has the
specified subscript in the FloatNamedArraylist.
specified subscript in the FloatNamedArraylist.
==Syntax==
==Syntax==
<p class="code">%num = %fnamrayl:Number(subscript)
{{Template:FloatNamedArraylist:Number syntax}}
</p>
===Syntax terms===
===Syntax terms===
<table class="syntaxTable">
<table class="syntaxTable">
Line 20: Line 14:
<td>A numeric value that serves as a subscript to identify a ''%fnamrayl'' item.</td></tr>
<td>A numeric value that serves as a subscript to identify a ''%fnamrayl'' item.</td></tr>
</table>
</table>
==Usage Notes==
==Usage notes==
<ul>
<ul>
<li>If the Number property is called and there is no item
<li>If the Number property is called and there is no item
Line 27: Line 21:
regardless of the setting of [[UseDefault (FloatNamedArraylist property)|UseDefault]].
regardless of the setting of [[UseDefault (FloatNamedArraylist property)|UseDefault]].
</ul>
</ul>
==See also==
{{Template:FloatNamedArraylist:Number footer}}

Revision as of 04:19, 7 February 2011

Item number of specified name (FloatNamedArraylist class)


This ReadOnly property returns the item number (ordinal) of the item that has the specified subscript in the FloatNamedArraylist.

Syntax

%number = fltNal:Number( subscript)

Syntax terms

%num A numeric variable to contain the item number of the specified %fnamrayl item.
%fnamrayl A FloatNamedArraylist object.
subscript A numeric value that serves as a subscript to identify a %fnamrayl item.

Usage notes

  • If the Number property is called and there is no item on the FloatNamedArraylist that has the indicated subscript, a 0 is returned, regardless of the setting of UseDefault.

See also