Number (FloatNamedArraylist function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (update syntax terms to match corrected template)
Line 17: Line 17:
==Usage notes==
==Usage notes==
<ul>
<ul>
<li>If <var>Number</var> is called and there is no item on the <var>FloatNamedArraylist</var> that has the indicated subscript, a <var class="code">0</var> is returned, regardless of the setting of <var>[[UseDefault (FloatNamedArraylist property)|UseDefault]]</var>.
<li>If <var>Number</var> is called and there is no item on the <var>FloatNamedArraylist</var> that has the indicated <var class="term">subscript</var>, a <code>0</code> is returned, regardless of the setting of <var>[[UseDefault (FloatNamedArraylist property)|UseDefault]]</var>.
</ul>
</ul>


==See also==
==See also==
{{Template:FloatNamedArraylist:Number footer}}
{{Template:FloatNamedArraylist:Number footer}}

Revision as of 13:27, 14 March 2011

Item number of specified name (FloatNamedArraylist class)


The Number ReadOnly property 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