table.value

Syntax

v = table.value(t,i)
table.value(t,i) = v

Get/set a table entry. A 2D vector must be supplied, or it is returned and entries are created if i is greater than table.size. A new table is created if a unique integer or string name is given as the first argument.

Returns:

v - vector of x/y value

Accepts:

v - vector of x/y value

Arguments:

t - integer name, string name, or table pointer

i - index of table entry