FirstItem (GenericNamedArraylist property): Difference between revisions

From m204wiki
Jump to navigation Jump to search
Line 10: Line 10:
<td>A <var>FloatNamedArraylist</var>, <var>NamedArraylist</var>, or <var>UnicodeNamedArraylist</var> object. </td></tr>
<td>A <var>FloatNamedArraylist</var>, <var>NamedArraylist</var>, or <var>UnicodeNamedArraylist</var> object. </td></tr>
<tr><th>newItem</th>
<tr><th>newItem</th>
<td>A variable or value of the same type as specified on the <var class="term">anyNal</var> declaration to be assigned to the specified <var class="term">anyNal</var> item. </td></tr>
<td>A value of the same type as specified on the <var class="term">anyNal</var> declaration to be assigned to the specified <var class="term">anyNal</var> item. </td></tr>
</table>
</table>



Revision as of 21:52, 26 February 2013

Return or set first item (FloatNamedArraylist, NamedArraylist, and UnicodeNamedArraylist classes)

[Introduced in Sirius Mods 8.1]


Syntax

%currentItem = anyNal:FirstItem anyNal:FirstItem = newItem

Syntax terms

%currentItem A variable of the same type as specified on the anyNal declaration to contain the value of the specified anyNal item.
anyNal A FloatNamedArraylist, NamedArraylist, or UnicodeNamedArraylist object.
newItem A value of the same type as specified on the anyNal declaration to be assigned to the specified anyNal item.

Usage notes

Examples

See also