Number (NamedArraylist function)

From m204wiki
Revision as of 11:13, 8 March 2011 by Goff (talk | contribs) (match syntax table to diagram, tags and edits)
Jump to navigation Jump to search

Item number of specified name (NamedArraylist class)


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

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

Usage notes

  • If Number 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