Difference between revisions of "Ar Next"
Jump to navigation
Jump to search
imported>QQuix (Clarified the 'BadIndex' return value) |
imported>QQuix (added another possible return) |
||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
| origin = OBSE | | origin = OBSE | ||
| summary = Returns the key of the element immediately following the passed key | | summary = Returns the key of the element immediately following the passed key | ||
Returns [[Ar_BadNumericIndex]]/[[Ar_BadStringIndex]] if no key follows it. | |||
Returns [[Ar_BadNumericIndex]]/[[Ar_BadStringIndex]] if the passed key does not exists in the array. | |||
| name = ar_Next | | name = ar_Next | ||
| returnVal = key | | returnVal = key |
Latest revision as of 08:04, 3 January 2015
< [[::Category:Functions|Category:Functions]]
A function added by the Oblivion Script Extender.
Syntax:
(key:arrayKey) ar_Next src:array precedingKey:arrayKey
Returns the key of the element immediately following the passed key
Returns Ar_BadNumericIndex/Ar_BadStringIndex if no key follows it.
Returns Ar_BadNumericIndex/Ar_BadStringIndex if the passed key does not exists in the array.