LastItem (GenericNamedArraylist property)

From m204wiki
Revision as of 20:17, 11 July 2014 by JAL (talk | contribs) (Created page with "{{Template:GenericNamedArraylist:LastItem subtitle}} ==Syntax== {{Template:GenericNamedArraylist:LastItem syntax}} ===Syntax terms=== <table class="syntaxTable"> <tr><th>%cu...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

[Introduced in Sirius Mods 8.1]


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.