Millisecond Forums

Evaluation order of /ontrialend and /iscorrectresponse

https://forums.millisecond.com/Topic10028.aspx

By Blackadder - 3/20/2013

Hi All,


just a quick question: which of these two is evaluated first:   / ontrialend or   / iscorrectresponse?


Reason for my question: I wonder if I can compute something in  / ontrialend  and use that calculation as a criterion in  / iscorrectresponse.


Best wishes,
  Malte 

By Dave - 3/20/2013

/iscorrectresponse comes first. Correctness must be determined before the trial ends (/ontrialend).

By Blackadder - 3/20/2013

Thanks a lot. I'll just split the trial up in two, then, with the second as just a "feedback dummy" that uses the computation to determine the correct response.


Best wishes,
  Malte