[dismiss]
This wiki is a copy of the original Oblivion CS wiki created and maintained by the UESP.net. See CSwiki:Copy Notice for more info.
Difference between revisions of "Ar Range"
Jump to navigation
Jump to search
imported>CSbot (Automated import of articles) |
imported>QQuix (Organizing the Array Functions category list) |
||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
| origin = OBSE | | origin = OBSE | ||
Line 23: | Line 22: | ||
[[Category:Functions (OBSE)]] | [[Category:Functions (OBSE)]] | ||
[[Category:Functions (OBSE v0018)]] | [[Category:Functions (OBSE v0018)]] | ||
[[Category:Array Functions (OBSE)]] | [[Category:Array Functions (OBSE)]] |
Latest revision as of 12:22, 18 September 2010
< [[::Category:Functions|Category:Functions]]
A function added by the Oblivion Script Extender.
Syntax:
(range:Array) ar_Range start:short end:short step:short
Returns an Array of zero or more numbers ranging from start up to and including end spaced in intervals of step. For example, ar_Range (5,10,2) returns (5,7,9) and ar_Range (5,3,-1) returns (5,4,3). This is useful for performing a traditional for loop within a forEach expression. The optional step argument defaults to 1.