Skip to content
AlertaChartAlertaScript / docs
AlertaScript / alerta.array.new_table
On this pageSignatureParametersReturnsExample

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

NameTypeRequiredDefaultDescription
sizeintNot specified—Optional initial size.
initialValuetableNot 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.

AlertaScript

No results found.

Search by name, alias, or keyword.