SEQUENCE
Generates a list of sequential numbers in an array.
| Category | DynamicArray |
| Syntax | SEQUENCE(rows, [columns], [start], [step]) |
Parameters
| Parameter | Required | Description |
|---|---|---|
rows | Required | The number of rows to return. |
columns | Optional | The number of columns to return. Defaults to 1. |
start | Optional | The first number in the sequence. Defaults to 1. |
step | Optional | The increment between each value. Defaults to 1. |
Example
SEQUENCE(5) // → [1; 2; 3; 4; 5]
SEQUENCE(3, 2) // → [1, 2; 3, 4; 5, 6]
Auto-generated from the EngCanvas function registry.