Number (UnicodeNamedArraylist function): Difference between revisions
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
{{Template:UnicodeNamedArraylist:Number subtitle}} | |||
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== | ||
{{Template:UnicodeNamedArraylist:Number syntax}} | |||
===Syntax | ===Syntax terms=== | ||
<dl> | <dl> | ||
<dt><i>%num</i> | <dt><i>%num</i> | ||
Line 22: | Line 17: | ||
</dl> | </dl> | ||
==Usage | ==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.