Number (FloatNamedArraylist function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
m (1 revision)
Line 11: Line 11:
<p class="code">%num = %fnamrayl:Number(subscript)
<p class="code">%num = %fnamrayl:Number(subscript)
</p>
</p>
===Syntax Terms===
===Syntax terms===
<dl>
<table class="syntaxTable">
<dt><i>%num</i>
<tr><th><i>%num</i></th>
<dd>A numeric variable to contain the item number of the
<td>A numeric variable to contain the item number of the specified ''%fnamrayl'' item. </td></tr>
specified ''%fnamrayl'' item.
<tr><th><i>%fnamrayl</i></th>
<dt><i>%fnamrayl</i>
<td>A FloatNamedArraylist object. </td></tr>
<dd>A FloatNamedArraylist object.
<tr><th><i>subscript</i></th>
<dt><i>subscript</i>
<td>A numeric value that serves as a subscript to identify a ''%fnamrayl'' item.</td></tr>
<dd>A numeric value
</table>
that serves as a subscript to identify a ''%fnamrayl'' item.
 
</dl>
==Usage Notes==
==Usage Notes==
<ul>
<ul>

Revision as of 23:09, 31 January 2011

<section begin=dpl_desc/>Item number of specified item<section end=dpl_desc/>

Number is a member of the FloatNamedArraylist class.

This ReadOnly property returns the item number (ordinal) of the item that has the specified subscript in the FloatNamedArraylist.

Syntax

%num = %fnamrayl:Number(subscript)

Syntax terms

%num A numeric variable to contain the item number of the specified %fnamrayl item.
%fnamrayl A FloatNamedArraylist object.
subscript A numeric value that serves as a subscript to identify a %fnamrayl item.

Usage Notes

  • If the Number property 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.