Number (NamedArraylist function)

From m204wiki
Revision as of 17:12, 5 January 2011 by 198.242.244.47 (talk) (Created page with "<span style="font-size:120%; color:black"><b><section begin=dpl_desc/>Item number of named item<section end=dpl_desc/></b></span> [[Category:NamedArraylist methods|Number propert...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

Number is a member of the NamedArraylist class.

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

Syntax

  %num = %namrayl:Number(name)

Syntax Terms

%num
A numeric variable to contain the number of the named %namrayl item.
%namrayl
A NamedArraylist object.
name
A string that serves as a subscript to identify a %namrayl item. If the indicated name is not in %namrayl, 0 is returned, regardless of the setting of UseDefault.

Usage Notes

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