LastItem (GenericNamedArraylist property)

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.

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

[Introduced in Sirius Mods 8.1]


LastItem is a ReadWrite property that returns or sets the last item in the FloatNamedArraylist, NamedArraylist, or UnicodeNamedArraylist.

Syntax

%currentItem = anyNal:LastItem anyNal:LastItem = 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 variable or value of the same type as specified on the anyNal declaration to be assigned to the specified anyNal item.