dumptable - print the contents of a table from an associated table-handle variable to a terminal or a file
table = dumptable(table_handle, [ "filename"])
dumptable is a useful utility that will print the contents of a table associated with a particular table-handle to the screen, or to a text file if the optional filename is given.
Returns 0.0 if the printing is successful, -1.0 if there was an error.
table = maketable("wave", 10, 1)
dumptable(table)
The above score will produce the following output to the screem:
0 0.000000 1 0.618034 2 1.000000 3 1.000000 4 0.618034 5 0.000000 6 -0.618034 7 -1.000000 8 -1.000000 9 -0.618034
maketable, tablelen, samptable, plottable