NameByNumber (NamedArraylist function): Difference between revisions
Jump to navigation
Jump to search
m (→See also) |
m (→Usage notes) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
{{Template:NamedArraylist:NameByNumber subtitle}} | {{Template:NamedArraylist:NameByNumber subtitle}} | ||
<var>NameByNumber</var> returns the name of the item that has the indicated item number in the <var>NamedArraylist</var>. | |||
==Syntax== | ==Syntax== | ||
Line 14: | Line 14: | ||
<td>A whole number greater than 0 to identify a <var class="term">nal</var> item by its position (item number) in the alphabetically ordered <var>NamedArraylist</var>. If <var class="term">number</var> is greater than the number of items in <var class="term">nal</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">nal</var> item by its position (item number) in the alphabetically ordered <var>NamedArraylist</var>. If <var class="term">number</var> is greater than the number of items in <var class="term">nal</var>, or if it is less than or equal to zero, the request is cancelled.</td></tr> | ||
</table> | </table> | ||
==See also== | ==See also== | ||
<ul><li><var>[[Number (NamedArraylist function)|Number]]</var> lets you retrieve an item using its item number.</ul> | <ul> | ||
<li><var>[[Number (NamedArraylist function)|Number]]</var> lets you retrieve an item using its item number. | |||
<li><var>[[ItemByNumber_(GenericNamedArraylist_property)|ItemByNumber]]</var> lets you retrieve or set an item using the item's ordinal number. | |||
</ul> | |||
{{Template:NamedArraylist:NameByNumber footer}} | {{Template:NamedArraylist:NameByNumber footer}} |
Latest revision as of 02:58, 8 August 2012
Name of specified item number (NamedArraylist class)
NameByNumber returns the name of the item that has the indicated item number in the NamedArraylist.
Syntax
%name = nal:NameByNumber( number)
Syntax terms
%name | A string variable to contain the name of the nal item that is specified by number. |
---|---|
nal | A NamedArraylist object. |
number | A whole number greater than 0 to identify a nal item by its position (item number) in the alphabetically ordered NamedArraylist. If number is greater than the number of items in nal, or if it is less than or equal to zero, the request is cancelled. |
See also
- Number lets you retrieve an item using its item number.
- ItemByNumber lets you retrieve or set an item using the item's ordinal number.