Name

saveTable()

Examples
table = Table()
table.addColumn("id")
table.addColumn("species")
table.addColumn("name")
newRow = table.addRow()
newRow.setInt("id", table.getRowCount() - 1)
newRow.setString("species", "Panthera leo")
newRow.setString("name", "Lion")
saveTable(table, "data/new.csv")
# Sketch saves the following to a file called "new.csv":
# id,species,name
# 0,Panthera leo,Lion
Description
Syntax
saveTable(table, filename)
saveTable(table, filename, options)
Parameters
table
filename
options
Related Table
loadTable()
loadBytes()
loadStrings()
loadXML()
Updated on Sun Aug 30 12:17:17 2015.
Creative Commons License