InLine not recognized_ Contingent Branching via Jump Object
Michiel Spape
Michiel.Spape at nottingham.ac.uk
Tue Jun 29 14:22:47 UTC 2010
Hi,
It seems you've missed something - If StimObject.Resp = ("CorrectAnswer") means the RESP is checked against each letter in CorrectAnswer: C O R R E ... etc. I assume you mean:
If Stimobject.RESP = C.GetAttrib("CorrectAnswer") instead?
Furthermore, make your sequence first simple, then figure out what goes wrong:
If StimObject.RESP = "" then
goto NoRespLabel
Else
If StimObject.RESP = C.GetAttrib("CorrectAnswer") then
goto CorLabel
else
goto IncorLabel
end if
end if
... also, it makes sense to first check whether someone actually gave an answer, THEN wonder whether the answer is wrong or right.
Best,
Michiel
Michiel Spapé
Research Fellow
Perception & Action group
University of Nottingham
School of Psychology
-----Original Message-----
From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of eleaves
Sent: 26 June 2010 23:17
To: E-Prime
Subject: InLine not recognized_ Contingent Branching via Jump Object
Hi,
I need to make a program where the subject response determines the
feedback (which is a picture (slide object)) that is presented. I want
to do this with jump labels for each "correct" "incorrect" and "no
response" conditions which would point to the appropriate slide
object. That slide object would then jump again to the inter trial
delay and then the whole sequence would repeat. My problem is that the
program does not seem to read in my inline commands. My inline is:
If StimObject.RESP = ("CorrectAnswer") Then
Goto CorLabel
Elseif StimObject.RESP = ("InCorrectAnswer") Then
Goto InCorLabel
Else
Goto NoRespLabel
End If
Do I have to 'Dim" something first? Also, there if I do not comment
the Else statement, the program gets stuck on that NoResp screen...
But it's like eprime doesn't even take into account the other if then
statements...
Any ideas???
--
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.
This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.
--
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