Number (UnicodeNamedArraylist function)

From m204wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Item number of specified name (UnicodeNamedArraylist class)


Number returns the item number (ordinal) of the item that has the specified subscript name in the UnicodeNamedArraylist.

Syntax

%number = uniNal:Number( name)

Syntax terms

%number A numeric variable to contain the item number of the specified uniNal item.
uniNal A UnicodeNamedArraylist object.
name A Unicode string that serves as a subscript name to identify a uniNal item.

Usage notes

  • If Number is called and there is no item on the UnicodeNamedArraylist that has the indicated subscript, a 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.