Return the size of a table from an associated table-handle variable.
val = tablelen(table_handle)
tablelen returns a float containing the integer size (length) of the table from the table_handle variable. table_handle is instantiated using the maketable scorefile command.
table_handle
The table-handle identifier for the table.
table = maketable("literal", "nonorm", 0, 8.00, 8.02, 8.03, 8.05, 8.07)
size = tablelen(table)
size will have the value 5, corresponding to the 5 elements of the table. This is very useful when a size argument of 0 is used for a maketable(“literal”, …) table type.
maketable, modtable, makefilter, makeconverter, plottable, dumptable, tablelen, mul, div, sub, add, len