Difference between revisions of "Ar Last"

From the Oblivion ConstructionSet Wiki
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:
{{BotAddedPage|CSbot|DragoonWraith}}
{{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 Variable Functions (OBSE)]]
[[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.