Number (UnicodeNamedArraylist function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
m (match syntax table to diagram, tags and edits)
Line 1: Line 1:
{{Template:UnicodeNamedArraylist:Number subtitle}}
{{Template:UnicodeNamedArraylist:Number subtitle}}


This ReadOnly property returns the item number (ordinal) of the item that has the
The <var>Number</var> ReadOnly property returns the item number (ordinal) of the item that has the specified subscript name in the <var>UnicodeNamedArraylist</var>.
specified subscript name in the UnicodeNamedArraylist.
 
==Syntax==
==Syntax==
{{Template:UnicodeNamedArraylist:Number syntax}}
{{Template:UnicodeNamedArraylist:Number syntax}}
===Syntax terms===
===Syntax terms===
<table class="syntaxTable">
<table class="syntaxTable">
<tr><th>%num</th>
<tr><th>%number</th>
<td>A numeric variable to contain the item number of the specified ''%unamrayl'' item. </td></tr>
<td>A numeric variable to contain the item number of the specified <var class="term">uniNal</var> item. </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></tr>
<td>A Unicode string that serves as a subscript name to identify a <var class="term">uniNal</var> item.</td></tr>
</table>
</table>
==Usage notes==
==Usage notes==
<ul>
<ul><li>If <var>Number</var> is called and there is no item on the <var>UnicodeNamedArraylist</var> that has the indicated subscript, a <var class="output">0</var> is returned, regardless of the setting of <var>[[UseDefault (UnicodeNamedArraylist property)|UseDefault]]</var>.
<li>If the Number property is called and there is no item
on the UnicodeNamedArraylist that has the indicated subscript,
a <tt>0</tt> is returned,
regardless of the setting of [[UseDefault (UnicodeNamedArraylist property)|UseDefault]].
</ul>
</ul>
==See also==
==See also==
{{Template:UnicodeNamedArraylist:Number footer}}
{{Template:UnicodeNamedArraylist:Number footer}}

Revision as of 11:16, 8 March 2011

Item number of specified name (UnicodeNamedArraylist class)


The Number 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

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

Usage notes

  • If Number 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