Name

saveTable

Description Writes the contents of a Table object to a file. By default, this file is saved to the sketch's folder. This folder is opened by selecting "Show Sketch Folder" from the "Sketch" menu.

Alternatively, the file can be saved to any location on the computer by using an absolute path (something that starts with / on Unix and Linux, or a drive letter on Windows).

All files loaded and saved by the Processing API use UTF-8 encoding.
Syntax
saveTable(table, filename)
saveTable(table, filename, options)
Parameters
tableTable: the Table object to save to a file
filenameString: the filename to which the Table should be saved
optionsString: can be one of "tsv", "csv", "bin", or "html"
Related Table
loadTable
loadBytes
loadStrings
loadXML
Creative Commons License