| Reference | Downloads | Github

Data output modification

I have a problem with the data output, I have defined some new variable like a total score and some other variable, but it doesn’t appear in the data file. what should I do?

Please edit to provide a full description of your problem (sorry, you might have had your initial post interrupted by the system’s spam protection: that shouldn’t happen to you again).

thank you, I have edited my question.
I appreciate any help

You must explicitly save any custom-created variables in the datafile, like this:

thisExp.addData('some_name_for_datafile_column', your_variable_name)
thisExp.addData('some_other_column_name', another_variable_name)