NameByNumber (FloatNamedArraylist function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
mNo edit summary
 
(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">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>
==Usage notes==
<ul><li>If the <var>NameByNumber</var> property is being retrieved and there is no item on the <var>FloatNamedArraylist</var> that has the indicated item number, the result is one of the following actions:
<ul><li>The request is cancelled if the <var>[[UseDefault (FloatNamedArraylist property)|UseDefault]]</var> property value is <var class="code">False</var>.
<li>The <var>[[Default (FloatNamedArraylist property)|Default]]</var> value is returned if the <var>UseDefault</var> property is <var class="code">True</var>.
</ul></ul>


==See also==
==See also==
<ul>
<ul>
<li><var>[[Number (FloatNamedArraylist property)|Number]]</var> lets you retrieve an item's ordinal number using its numeric subscript.
<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><var>[[ItemByNumber_(GenericNamedArraylist_property)|ItemByNumber]]</var> lets you retrieve or set an item using the item's ordinal number.
</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.