[Addressing some old posts here, probably too late to do any good ...]
I would approach this a slightly different way. I might structure the
TrialProc something like
-- TrialStartLabel
-- StimImage
-- ResponseText
-- ResponseCode
-- FeedbackSlide
-- TrialRepeatCode
-- TrialEndLabel
ResponseCode does
If ResponseText.ACC Then Goto TrialEndLabel
Alternatively, you could use two input masks in ResponseText to do the
work of ResponseCode as you did before, and then do without ResponseCode.
And TrialRepeatCode simply does
Goto TrialStartLabel
Basically, instead of using the response to ResponseText to decide
whether to loop back and repeat the trial, you use the response to
decide whether to skip past the part that presents the feedback and
loops back.
-- David McFarlane