Number (FloatNamedArraylist function)

From m204wiki
Revision as of 17:28, 4 February 2011 by Wiccan (talk | contribs) (1 revision)
Jump to navigation Jump to search

<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.