Thanks very much. I got it working. The code creates a new table, add rows, and saves a table as CSV file type. One thing I noticed on my code when saving the data
function mousePressed() {
save_my_table();
}
works better than the function below.
function keyPressed() { if ( key == 's' ) save_my_table(); }
Thanks