NameByNumber (FloatNamedArraylist function): Difference between revisions
Jump to navigation
Jump to search
m (match syntax table to diagram, tags and edits) |
m (→Usage notes) |
||
(4 intermediate revisions by 2 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>. | |||
==Syntax== | ==Syntax== | ||
Line 7: | Line 7: | ||
===Syntax terms=== | ===Syntax terms=== | ||
<table class="syntaxTable"> | <table class="syntaxTable"> | ||
<tr><th>% | <tr><th>%subscript</th> | ||
<td>A numeric variable to contain the subscript of the specified <var class="term">fltNal</var> item. </td></tr> | <td>A numeric variable to contain the subscript of the specified <var class="term">fltNal</var> item. </td></tr> | ||
<tr><th>fltNal</th> | <tr><th>fltNal</th> | ||
Line 14: | Line 14: | ||
<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> | <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== | ==See also== | ||
<ul><li><var>[[Number (FloatNamedArraylist | <ul> | ||
<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. | |||
</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.