Number (UnicodeNamedArraylist function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
m (1 revision)
Line 6: Line 6:
{{Template:UnicodeNamedArraylist:Number syntax}}
{{Template:UnicodeNamedArraylist:Number syntax}}
===Syntax terms===
===Syntax terms===
<dl>
<table class="syntaxTable">
<dt><i>%num</i>
<tr><th><i>%num</i></th>
<dd>A numeric variable to contain the item number of the
<td>A numeric variable to contain the item number of the specified ''%unamrayl'' item. </td></tr>
specified ''%unamrayl'' item.
<tr><th><i>%unamrayl</i></th>
<dt><i>%unamrayl</i>
<td>A UnicodeNamedArraylist object. </td></tr>
<dd>A UnicodeNamedArraylist object.
<tr><th><i>name</i></th>
<dt><i>name</i>
<td>A Unicode string that serves as a subscript name to identify a ''%unamrayl'' item.</td></tr>
<dd>A Unicode string
</table>
that serves as a subscript name to identify a ''%unamrayl'' item.
 
</dl>
==Usage notes==
==Usage notes==
<ul>
<ul>

Revision as of 23:09, 31 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