Arrays / Reference
alerta.array.new_table
TradingView-compatible spelling: array.new_table, runs without warnings
Creates a new table-handle array.
alerta.array.new_table(size?, initialValue?) → Array<table>Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
size | int | Not specified | — | Optional initial size. |
initialValue | table | Not specified | — | Optional initial table handle. |
Returns
Array<table>Example
alerta.array.new_table
arr = array.new_table(0)Names and aliases
Guides and navigation are localized. Built-in reference descriptions and code examples are maintained in English.