Noob question: accepting multiple responses

David McFarlane mcfarla9 at msu.edu
Thu Jun 12 15:28:21 UTC 2008


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