defining a new variable and updating it
I am trying to make my results analysis easier by defining a variable and updating it in each condition according to it. i.e. difficulty : hard/easy, correct answer: 1,2 etc. I tried using the 'prepare' part in the 'inline script' in each condition (i.e. var.correct answer = 1) and logging the variables but in the output, I see the first value that was assigned to the variable and it does not change along the experiment. what am I doing wrong?