Saving data in csv format

edited October 2013 in Using Processing

Hi Guys, I want to save some data in form of a table in csv format. I got the code from the site but while running it gives this error "cannot convert from void to TableRow" What am I doing wrong ?


alt text


  • Answer ✓

    Hi Metal monkey,

    I see that you are using the b3 version of 2.0. perhaps addRow does not return a TableRow in that version? I'd upgrade to the stable and see if that makes a difference.

    good luck! ak

  • Answer ✓

    You are using an old beta version of Processing 2.0b3 .. the current version is 2.0.3, which is what the reference refers to.

    In general: your error just says that table.addRow() produces void which can not be stored in a variable of type TableRow ... which is because you are using an old Processing.

  • Ha, @akiersky was faster than me ..

  • Thanks guys. I downloaded the new version and it's working perfectly. Thanks for the help.

Sign In or Register to comment.