tablelen - return the size of a table from an associated table-handle variable
val = tablelen(table_handle)
tablelen returns the size (length) of the table from the table_handle variable. table_handle is instantiated using the maketable scorefile command.
Returns to the script an integer value, the size of 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