in your user script tab:<div>Dim trialCount as Integer</div><div>Dim correctResp as Integer</div><div><br></div><div>then, in an inline immediately following each response (assuming here that the response was made to an object called "Stimulus"):</div>
<div>trialCount = trialCount + 1</div><div>If Stimulus.ACC = 1 Then</div><div>   correctResp = correctResp + 1</div><div>End If</div><div><br></div><div>then, in an inline immediately following the block of trials, calculate the accuracy:</div>
<div>correctResp = correctResp/trialCount*100</div><div>If correctResp <= 80 Then Goto Label1 '(you'll need to place Label1 before the start of your block of trials.  this way, if accuracy <= 80% they will be looped back to the beginning of the block.  otherwise, they will continue on to the next phase.)</div>
<div><br></div><div>something along those lines should work.  hope that helps.</div><div><br></div><div>ben</div><div><br><div class="gmail_quote">On Wed, May 7, 2008 at 12:05 PM, Leila <<a href="mailto:syn_idylle@hotmail.com">syn_idylle@hotmail.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br>
Hi,<br>
<br>
I program an experiment with e-prime for the first time. Supose that<br>
in my experiment there are 3 blocs. I should use a syntaxe for when<br>
someone has 80% of good answer and more in the second bloc, he goes to<br>
the bloc 3 , but if he doesn't has more of 80% of good answer, he<br>
should back to the bloc 1. Someone knows how I can do that?<br>
<br>
Thank you very much, and sorry for my poor english<br>
<font color="#888888"><br>
Leila<br>
<br>
</font></blockquote></div><br></div><br>
--~--~---------~--~----~------------~-------~--~----~<br>
You received this message because you are subscribed to the Google Groups "E-Prime" group. <br> To post to this group, send email to e-prime@googlegroups.com <br> To unsubscribe from this group, send email to e-prime-unsubscribe@googlegroups.com <br> For more options, visit this group at http://groups.google.com/group/e-prime?hl=en <br> -~----------~----~----~----~------~----~------~--~---<br>
<br>