Returns the list of integers between "from" and "to" inclusive. If "from" is greater than "to", this list is empty.
from-to(from:number, to:number) -> list of number |
Name |
Type |
Description |
---|---|---|
from |
number |
Specifies the starting index ("from"). |
to |
number |
Specifies the ending index ("to"). |
The following expression produces [3, 4, 5, 6, 7]:
from-to(3, 7) |