NameByNumber (FloatNamedArraylist function): Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
m (→Usage notes) |
||
(6 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{Template:FloatNamedArraylist:NameByNumber subtitle}} | {{Template:FloatNamedArraylist:NameByNumber subtitle}} | ||
<var>NameByNumber</var> returns the "name" (in this case a numerical subscript) of the item that has the specified item number (position) in the <var>FloatNamedArraylist</var>. | |||
of the item that has the specified | |||
item number (position) in the FloatNamedArraylist. | |||
==Syntax== | ==Syntax== | ||
{{Template:FloatNamedArraylist:NameByNumber syntax}} | {{Template:FloatNamedArraylist:NameByNumber syntax}} | ||
Line 9: | Line 8: | ||
<table class="syntaxTable"> | <table class="syntaxTable"> | ||
<tr><th>%subscript</th> | <tr><th>%subscript</th> | ||
<td>A numeric variable to contain the subscript of the specified | <td>A numeric variable to contain the subscript of the specified <var class="term">fltNal</var> item. </td></tr> | ||
<tr><th> | <tr><th>fltNal</th> | ||
<td>A FloatNamedArraylist object. </td></tr> | <td>A <var>FloatNamedArraylist</var> object. </td></tr> | ||
<tr><th>number</th> | <tr><th>number</th> | ||
<td>A whole number greater than 0 to identify a | <td>A whole number greater than 0 to identify a <var class="term">fltNal</var> item by its position (item number) in the numerically ordered <var>FloatNamedArraylist</var>. If <var class="term">number</var> is greater than the number of items in <var class="term">fltNal</var>, or if it is less than or equal to zero, the request is cancelled.</td></tr> | ||
</table> | </table> | ||
== | |||
==See also== | |||
<ul> | <ul> | ||
<li> | <li><var>[[Number (FloatNamedArraylist function)|Number]]</var> lets you retrieve an item's ordinal number using its numeric subscript. | ||
[[ | <li><var>[[ItemByNumber_(GenericNamedArraylist_property)|ItemByNumber]]</var> lets you retrieve or set an item using the item's ordinal number. | ||
<li> | |||
</ | |||
an item's | |||
</ul> | </ul> | ||
{{Template:FloatNamedArraylist:NameByNumber footer}} | {{Template:FloatNamedArraylist:NameByNumber footer}} |
Latest revision as of 02:57, 8 August 2012
Name of specified item number (FloatNamedArraylist class)
NameByNumber returns the "name" (in this case a numerical subscript) of the item that has the specified item number (position) in the FloatNamedArraylist.
Syntax
%subscript = fltNal:NameByNumber( number)
Syntax terms
%subscript | A numeric variable to contain the subscript of the specified fltNal item. |
---|---|
fltNal | A FloatNamedArraylist object. |
number | A whole number greater than 0 to identify a fltNal item by its position (item number) in the numerically ordered FloatNamedArraylist. If number is greater than the number of items in fltNal, or if it is less than or equal to zero, the request is cancelled. |
See also
- Number lets you retrieve an item's ordinal number using its numeric subscript.
- ItemByNumber lets you retrieve or set an item using the item's ordinal number.