Group: Forum Members
Posts: 42,
Visits: 220
|
Thanks for the tip with the expressions Dave that helped. I'm receiving some errors with inserting the stimulus frames even though the if statements are returning true. Is there something wrong with the syntax?
"/ontrialbegin = [if ((values.randomposition == "1") && (values.response == "patch1") && (values.randomdemand == "lowpatch1")) {trial.patchtrial.setstimulusframe(focus, 1); trial.patchtrial.insertstimulusframe(choose, 1); trial.patchtrial.insertstimulusframe(lownumber, 1); trial.patchtrial.insertstimulusframe(blankpatch1, 1); trial.patchtrial.insertstimulusframe(patch2, 1)}]"
|