NameByNumber (NamedArraylist function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (match syntax table to diagram, tags and edits)
m (update syntax terms to match corrected template)
Line 7: Line 7:
===Syntax terms===
===Syntax terms===
<table class="syntaxTable">
<table class="syntaxTable">
<tr><th>%string</th>
<tr><th>%name</th>
<td>A string variable to contain the name of the <var class="term">nal</var> item that is specified by <var class="term">number</var>. </td></tr>
<td>A string variable to contain the name of the <var class="term">nal</var> item that is specified by <var class="term">number</var>. </td></tr>
<tr><th>nal</th>
<tr><th>nal</th>

Revision as of 04:04, 11 March 2011

Name of specified item number (NamedArraylist class)


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

Syntax

%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.

Usage notes

  • If the NameByNumber property is being retrieved and there is no item on the NamedArraylistthat has the indicated item number, the result is one of the following actions:
    • The request is cancelled if the UseDefault property is False.
    • The Default value is returned if the UseDefault property is True.

See also

  • Number lets you retrieve an item using its item number.