NameByNumber (UnicodeNamedArraylist function): Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (→Usage notes) |
||
(One intermediate revision by one other user not shown) | |||
Line 14: | Line 14: | ||
<td>A whole number greater than 0 to identify a <var class="term">uniNal</var> item by its position (item number) in the <var>UnicodeNamedArraylist</var>. If <var class="term">number</var> is greater than the number of items in <var class="term">uniNal</var>, or if it is less than or equal to zero, the request is cancelled.</td></tr> | <td>A whole number greater than 0 to identify a <var class="term">uniNal</var> item by its position (item number) in the <var>UnicodeNamedArraylist</var>. If <var class="term">number</var> is greater than the number of items in <var class="term">uniNal</var>, or if it is less than or equal to zero, the request is cancelled.</td></tr> | ||
</table> | </table> | ||
==Examples== | ==Examples== | ||
Line 26: | Line 20: | ||
==See also== | ==See also== | ||
<ul> | <ul> | ||
<li><var>[[Number (UnicodeNamedArraylist | <li><var>[[Number (UnicodeNamedArraylist function)|Number]]</var> lets you retrieve an item's ordinal number using its item name. | ||
<li><var>[[ItemByNumber_(GenericNamedArraylist_property)|ItemByNumber]]</var> lets you retrieve or set an item using the item's ordinal number. | <li><var>[[ItemByNumber_(GenericNamedArraylist_property)|ItemByNumber]]</var> lets you retrieve or set an item using the item's ordinal number. | ||
</ul> | </ul> | ||
{{Template:UnicodeNamedArraylist:NameByNumber footer}} | {{Template:UnicodeNamedArraylist:NameByNumber footer}} |
Latest revision as of 02:57, 8 August 2012
Name of specified item (UnicodeNamedArraylist class)
NameByNumber returns the subscript name of the item that has the specified item number (position) in the UnicodeNamedArraylist.
Syntax
%name = uniNal:NameByNumber( number)
Syntax terms
%name | A Unicode string to contain the subscript name of the specified uniNal item. |
---|---|
uniNal | A UnicodeNamedArraylist object. |
number | A whole number greater than 0 to identify a uniNal item by its position (item number) in the UnicodeNamedArraylist. If number is greater than the number of items in uniNal, or if it is less than or equal to zero, the request is cancelled. |
Examples
For an example using NameByNumber, see "UnicodeNamedArraylist class".
See also
- Number lets you retrieve an item's ordinal number using its item name.
- ItemByNumber lets you retrieve or set an item using the item's ordinal number.