Millisecond Forums

/branch

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

By kosbornecrowley - 7/7/2013

I am trying to make block 1 end and block 2 begin after a correct streak of 8 correct responses in block one. 


What have i done wrong below?? I doesn't work!



<block 1>


/ trials = [1-30 = noreplace (targetAcorrleft, targetAcorrright)]


/ recorddata = false


/branch = [if (block.1.correctstreak == 8) block.2]


</block>



<block 2>


/ trials = [1-30 = noreplace (targetBcorrleft, targetBcorrright)]


/ recorddata = false


</block>



<expt>


/ blocks = [1=1; 2=2]


</expt>

By Dave - 7/7/2013

You'll want to /stop block one rather than /branch.