Number (NamedArraylist function)

From m204wiki
Revision as of 04:19, 7 February 2011 by Wiccan (talk | contribs) (1 revision)
Jump to navigation Jump to search

Item number of specified name (NamedArraylist class)


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

Syntax

%number = nal: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.

See also