Number (UnicodeNamedArraylist function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
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:UnicodeNamedArraylist:Number subtitle}}
[[Category:UnicodeNamedArraylist methods|Number property]]
<!--DPL?? Category:UnicodeNamedArraylist methods|Number property: Item number of specified item-->
<p>
Number is a member of the [[UnicodeNamedArraylist 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 name in the UnicodeNamedArraylist.
specified subscript name in the UnicodeNamedArraylist.
==Syntax==
==Syntax==
  %num = %unamrayl:Number(name)
{{Template:UnicodeNamedArraylist:Number syntax}}
===Syntax Terms===
===Syntax terms===
<dl>
<dl>
<dt><i>%num</i>
<dt><i>%num</i>
Line 22: Line 17:


</dl>
</dl>
==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 29: Line 24:
regardless of the setting of [[UseDefault (UnicodeNamedArraylist property)|UseDefault]].
regardless of the setting of [[UseDefault (UnicodeNamedArraylist property)|UseDefault]].
</ul>
</ul>
==See also==
{{Template:UnicodeNamedArraylist:Number footer}}

Revision as of 19:43, 28 January 2011

Item number of specified name (UnicodeNamedArraylist class)


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

Syntax

%number = uniNal:Number( name)

Syntax terms

%num
A numeric variable to contain the item number of the specified %unamrayl item.
%unamrayl
A UnicodeNamedArraylist object.
name
A Unicode string that serves as a subscript name to identify a %unamrayl item.

Usage notes

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

See also