hit test

c.frosch@reading.ac.uk die.carrie at gmail.com
Wed Dec 12 10:01:28 UTC 2007


Hi all,
I want my data file to report the accuracy from a hit test in my data
file. My slide has two boxes and participants have to click on one of
the two boxes. I have written a piece of script that reports when
people correctly hit box 1, but when I try to add the same piece of
script about box 2 I get an error saying expecting end if but
encountered end sub. How do I tell it to keep looking if the
correctAnswer is not Box1?

Here is the script that I wrote:
	If c.GetAttrib ("CorrectAnswer") = "Box1" and strHit = "Box1" Then
			Slide1.ACC = 1

End If

I'd be grateful for any input.
Thanks,
Caren
--~--~---------~--~----~------------~-------~--~----~
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