Difference between revisions of "Ar Last"
Jump to navigation
Jump to search
imported>CSbot (Automated import of articles) |
imported>QQuix (added another possible return) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
| origin = OBSE | | origin = OBSE | ||
| summary = Returns the key of the last element in an array. | | summary = Returns the key of the last element in an array, or [[Ar_BadNumericIndex]]/[[Ar_BadStringIndex]] if the array has no elements. | ||
| name = ar_Last | | name = ar_Last | ||
| returnVal = key | | returnVal = key | ||
Line 16: | Line 15: | ||
[[Category:Functions (OBSE)]] | [[Category:Functions (OBSE)]] | ||
[[Category:Functions (OBSE v0017)]] | [[Category:Functions (OBSE v0017)]] | ||
[[Category:Array | [[Category:Array Functions (OBSE)]] |
Latest revision as of 08:51, 3 January 2015
< [[::Category:Functions|Category:Functions]]
A function added by the Oblivion Script Extender.
Syntax:
(key:arrayKey) ar_Last src:array
Returns the key of the last element in an array, or Ar_BadNumericIndex/Ar_BadStringIndex if the array has no elements.