I am taking an initial look at processing to see if I can implement my projects with it. I need to present images, gather responses to each image, and then save the results to a file. The info I have seen in the docs shows very simple examples that save a single array of numbers. I want to write several columns of numbers, one column for each array.
In C:
for(i=0;i<ntrials;i++)
{
fprintf(fp,"%s ", name[i]);
fprintf(fp,"%d ", stim[i]);
fprintf(fp,"%d ", resp[i]);
fprintf(fp,"%1.2f ", sd[i]);
fprintf(fp,"%1.2f ", rho[i]);
fprintf(fp,"%1.5f ", con[i]);
}
Can I do something like this in processing? If so, please tell me how.