Hello, I'm trying to display a total score to participants at the end of a block of trials. Using this code.
/ ontrialend = [if (trial.trash1.correct = true) values.total = values.total + 1]
<values total>
/total = 0
</values>
however I'm receiving an error that I'm trying to set the value of a read-only property. Not sure how to work around this.