Group: Forum Members
Posts: 57,
Visits: 96
|
Dear Inquisit wizards,
I have a value (doping = 0) that I later need in my script to use as input. To calculate this value I use an expression (values.doping = round(expressions.iat_doping_d*100). However, the doping-value isn't updated.
The expression itself is a number and one that I see it saved in the data. I therefore do not expect the problem to be about the expression itself, but in how it is used to replace the doping-value.
Suggestions are much appreciated!
Best and thanks,
Tom
----------------------------------------------------------
<values> / doping = 0 </values>
<trial doping_summary> / stimulustimes = [0=doping_summary] / validresponse = (" ") / recorddata = false / ontrialbegin = [values.doping = round(expressions.iat_doping_d*100)] </trial>
<text doping_summary> / items = ("Your score was <% values.doping %>.") / size = (60%, 60%) / hjustify = left </text>
|