NameByNumber (NamedArraylist function)

From m204wiki
Jump to navigation Jump to search

Name of specified item number (NamedArraylist class)

NameByNumber returns the name of the item that has the indicated item number in the NamedArraylist.


%name = nal:NameByNumber( number)

Syntax terms

%name A string variable to contain the name of the nal item that is specified by number.
nal A NamedArraylist object.
number A whole number greater than 0 to identify a nal item by its position (item number) in the alphabetically ordered NamedArraylist. If number is greater than the number of items in nal, or if it is less than or equal to zero, the request is cancelled.

See also

  • Number lets you retrieve an item using its item number.
  • ItemByNumber lets you retrieve or set an item using the item's ordinal number.