subtub / csvP5

Use the new Processing 2.0 Table class instead!
http://subtub.github.com/csvP5/
MIT License
3 stars 0 forks source link

new Constructor syntax #11

Closed paulvollmer closed 12 years ago

paulvollmer commented 12 years ago

csv = new CsvP5(this, "sample.csv");

all other variables like Separator, Comment etc. moved to own function

paulvollmer commented 12 years ago
CsvP5 csv; 

void setup(){
    csv = new CsvP5(this, "sample.csv");

    csv.setSeparator(";");
    csv.setDescription("#");

    csv.hasHeaderRow();
    csv.hasHeaderColumn();

    csv.load();
}