<< Click to Display Table of Contents >>
Manual > Control Reference > Route > Route Methods >
Create an array of consecutive numbers.
syntax
Nums(
startValue,
count
[,inc = 1]
)
Parameters
startValue
Type:
Number
The starting value.
Quantity.
inc
The number to increment.
Return Value
Numeric Array
The generated numeric array (one-dimensional array).
Explanation
Generates an array of consecutive numbers.
Example
var a = ::Nums(1, 10); // same as c(1,2,3,4,5,6,7,8,9,10)
Supported
○
Script Action
Can be used in server script Ver2 actions
Browser script
Can be used in browser scripts
×
Calculation Expression Syntax
Can be used in expression syntax (e.g. bind syntax)
reference
SelectVal (SV)
GetRemainder
Nums
RepeatValue
SortValue
GetUniqueValue
IsExist