Number (NamedArraylist function)

From m204wiki
Revision as of 22:14, 7 August 2012 by Dme (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Item number of specified name (NamedArraylist class)


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

See also

  • The ItemByNumber property lets you retrieve or set an item using the item's ordinal number.
  • The NameByNumber function lets you retrieve an item's name using the item's ordinal number.