Response to a slide
David McFarlane
mcfarla9 at msu.edu
Thu Feb 26 13:48:29 UTC 2009
Just to summarize, in the case where you have only one allowable
response (e.g., 'SPACE') and you want to test for the occurrence of only
that response, then the following should work:
If Slide1.RESP = "{SPACE}" ' using the {key} nomenclature from online
E-Basic Help
If Slide1.RESP <> ""
If Slide1.RT > 0 ' or "<>" if you prefer
If Slide1.RT ' you don't even need the explicit test in this case
If Slide1.RTTime > 0 ' etc. as in .RT test
If you had also set the Correct response to {SPACE}, then you could also use
If Slide1.ACC = 1
If Slide1.ACC <> 0
If Slice1.ACC ' once again, do not need explicit test in this case
Also note that E-Basic/Visual Basic itself is case insensitive, so you
may use whatever case you like, except that you must observe case for
the E-Basic {key} nomenclature.
I leave it as an exercise to the reader to figure out the corresponding
tests for the case of more than one allowable response, or how to test
for the occurrence of a non-response (or non-occurrence of a response?).
You may post your solutions here for extra credit.
-- David McFarlane, Professional Faultfinder and Insufferable Pedant
--~--~---------~--~----~------------~-------~--~----~
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