table.id

Syntax

i = table.id(t)

Get the table ID. A new table is created if a unique integer or string name is given.

Returns:

i - table ID

Arguments:

t - integer name, string name, or table pointer