Noob question: accepting multiple responses

dan Daniel.Stjepanovic at gmail.com
Sat Jun 14 09:33:07 UTC 2008


Thanks for that David. I want to become more familiar with inline
scripting of e-prime, would you be able to recommend any good
resources?

Dan

On Jun 13, 1:28 am, David McFarlane <mcfar... at msu.edu> wrote:
> D,
>
> >I've set up a simple flanker task and have set it to accept "z" and
> >"/" as correct responses and allowable input. Because I'm testing
> >children, I'm worried that they may accidentally press the Caps Lock
> >key, changing one of their responses from "z" to "Z", which is not
> >allowed or accepted as a correct response.
>
> >What I'm wondering is if there is a quick (and hopefully easy) way of
> >getting e-prime to ignore the case of the response key. I've had a
> >look through the User's Guide and the built-in help, but the answer
> >still seems to elude me. I'm running E-Prime 1.2.
>
> (1) Partial solution:  For Allowable, just explicitly add the
> capitalized keys, e.g., zZ{/}{?} (though on my keyboard the {?} is
> unnecessary, because Caps Lock does not affect the /
> key).  Unfortunately, you can only assign one key value for Correct,
> so you will need some inline script for that (see below).
>
> (2) Full solution (but not quick & easy):  Add inline script after
> your response object.  Convert all responses to lower case with something like
>
> Probe.RESP = LCase( Probe.RESP )
>
> (see the E-Basic Online help for documentation)
>
> Then explicitly score for correct/incorrect with something like
>
> If Probe.RESP = Probe.CRESP Then
>      Probe.ACC = 1
> Else
>      Probe.ACC = 0
> End If
>
> (3) Ultimate solution:  Just epoxy the Caps Lock key so that no one
> can use it.  Nobody needs a Caps Lock key anyway.
>
> -- David McFarlane, Professional Faultfinder
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "E-Prime" group.
To post to this group, send email to e-prime at googlegroups.com
To unsubscribe from this group, send email to e-prime-unsubscribe at googlegroups.com
For more options, visit this group at http://groups.google.com/group/e-prime?hl=en
-~----------~----~----~----~------~----~------~--~---



More information about the Eprime mailing list