<div dir="ltr">under Case Else, just tell it to Goto a Label object, which you will place immediately before your Slide object. if they don't click an appropriate place on the slide object, the script with jump back to the label, and rerun the Slide object. the participant won't notice a thing.<br>
<br><div class="gmail_quote">On Wed, Jul 16, 2008 at 3:26 PM, David <<a href="mailto:ddiodati@gmail.com">ddiodati@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
Hi everyone,<br>
<br>
I am creating a similar experiment, and would like it to move onto the<br>
next trial only if a slidetext object is clicked. As of now, it will<br>
move on regardless. I know I need to use the select case function, but<br>
do not know the corresponding command to use with Case Else that would<br>
prevent the participant from moving to the next trial.<br>
<br>
Any help is much appreciated,<br>
<br>
David<br>
<br>
On Jul 15, 12:33 pm, Dina <<a href="mailto:deedee...@hotmail.com">deedee...@hotmail.com</a>> wrote:<br>
> Dear David, Susan and Ben,<br>
><br>
> Thank you so much for your suggestions, I greatly appreciate your help<br>
> and advice!!<br>
> I tried it out and it works well! On purpose I did the first half of<br>
> the trials correct<br>
> and the second half incorrect and this is exactly what it shows on the<br>
> output-file.<br>
> It was a recurring problem in all my tasks and now I can correct it in<br>
> the other ones as well.<br>
><br>
> Thanks again!<br>
> Dina<br>
<div><div></div><div class="Wj3C7c">><br>
> On Jul 15, 4:15 pm, David McFarlane <<a href="mailto:mcfar...@msu.edu">mcfar...@msu.edu</a>> wrote:<br>
><br>
> > Dina,<br>
><br>
> > Following up on Susan's response (and admitting that I didn't even<br>
> > look at the response scoring part of your code the first time), I<br>
> > think you want something more like this:<br>
><br>
> > Select Case strHit<br>
> > Case "UpperLeft"<br>
> > Motor.RESP = 1<br>
> > Case "UpperRight"<br>
> > Motor.RESP = 2<br>
> > Case "BottomLeft"<br>
> > Motor.RESP = 3<br>
> > Case "BottomRight"<br>
> > Motor.RESP = 4<br>
> > Case Else<br>
> > Goto Label3<br>
> > End Select<br>
> > If Motor.RESP = Motor.CRESP Then Motor.ACC = 1<br>
><br>
> > assuming that you have used the Correct property of Motor to assign 1<br>
> > for a correct response of "UpperLeft", etc. (EP allows only single<br>
> > characters for Correct, not strings).<br>
><br>
> > -- David McFarlane, Professional Faultfinder<br>
<br>
</div></div></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>