레퍼런스 saveTable()

saveTable()

Writes the contents of a Table object to a file. Defaults to a text file with comma-separated-values ('csv') but can also use tab separation ('tsv'), or generate an HTML table ('html'). The file saving process and location of the saved file will vary between web browsers.

예제

구문

saveTable(Table, filename, [options])

매개변수

Table
p5.Table:

the Table object to save to a file

filename
String:

the filename to which the Table should be saved

options
String:

can be one of "tsv", "csv", or "html"

Notice any errors or typos? Please let us know. Please feel free to edit src/io/files.js and open a pull request!

관련 레퍼런스