Number (FloatNamedArraylist function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
mNo edit summary
Line 1: Line 1:
{{Template:FloatNamedArraylist:Number subtitle}}
{{Template:FloatNamedArraylist:Number subtitle}}


The <var>Number</var> ReadOnly property returns the item number (ordinal) of the item that has the specified subscript in the <var>FloatNamedArraylist</var>.
<var>Number</var> returns the item number (ordinal) of the item that has the specified subscript in the <var>FloatNamedArraylist</var>.


==Syntax==
==Syntax==
Line 21: Line 21:


==See also==
==See also==
<ul>
<li>The <var>[[ItemByNumber_(GenericNamedArraylist_property)|ItemByNumber]]</var> property lets you retrieve or set an item using the item's ordinal number.
<li>The <var>[[NameByNumber (FloatNamedArraylist function)|NameByNumber]]</var> function lets you retrieve an item's name using the item's ordinal number.
</ul>
{{Template:FloatNamedArraylist:Number footer}}
{{Template:FloatNamedArraylist:Number footer}}

Revision as of 19:51, 21 July 2011

Item number of specified name (FloatNamedArraylist class)


Number returns the item number (ordinal) of the item that has the specified subscript in the FloatNamedArraylist.

Syntax

%number = fltNal:Number( subscript)

Syntax terms

%number A numeric variable to contain the item number of the fltNal item selected by subscript.
fltNal A FloatNamedArraylist object.
subscript A numeric value that serves as a subscript to identify a fltNal item.

Usage notes

  • If Number is called and there is no item on the FloatNamedArraylist that has the indicated subscript, a 0 is returned, regardless of the setting of UseDefault.

See also

  • The ItemByNumber property lets you retrieve or set an item using the item's ordinal number.
  • The NameByNumber function lets you retrieve an item's name using the item's ordinal number.