Response which leads to continuation of a procedure or starts another procedure

Lauren golorengo at gmail.com
Thu Sep 24 22:02:03 UTC 2009


Hi,
I recently used your answer to Leslie to design a similar experiment,
but I ran into a curious result. Whenever the participant responds
"new" and the context slide (TextDisplay2, in this example) is
skipped, e-prime records that a response has been given which is the
same as the last response given to a context slide. So, for example, a
subject might respond old, A, new, (skipped slide--it records A), new
(it records A), old, B, new, (it records B), old, B, new (it records
B). So that the response column for the context slide that should look
like A, 0, 0, B, 0, B, 0, looks like A, A, A, B, B, B, B.
Why would it record a response when the slide wasn't shown? I can
obviously delete any responses that occur on trials that the subject
responded "new," but that is an extra step that I'd like to avoid.
Thanks for any help!
Lauren

TextDisplay1, allowable input no (n)ew or (o)ld
An inline with 'if TextDisplay1.RESP = "n" then goto
AfterContextQuestion'
TextDisplay2, "was it seen in context A or B?"
AfterContextQuestion

On Sep 21, 12:34 pm, Michiel Spape <Michiel.Sp... at nottingham.ac.uk>
wrote:
> Hi,
> So, what is your question? How far did you get? Did you get stuck anywhere?
> It seems to me you're more familiar with other types of programming than e-prime - it makes less sense in E-Prime to make "procedures" the fundamental object which you would then call from dozens of lines of script. Instead of trying to do something like procedure.exit, you might try List.terminate instead, though, or (easier, I think) use a couple of jump labels.
> Say, you have a procedure with
> TextDisplay1, allowable input no (n)ew or (o)ld
> An inline with 'if TextDisplay1.RESP = "n" then goto AfterContextQuestion'
> TextDisplay2, "was it seen in context A or B?"
> AfterContextQuestion
> TextDisplay3, "thanks for the response" (whatever)
>
> Of course, if you want, you can make it yourself difficult and do some inlining, with a loop until the participant says 'new', doing some textdisplay.run and/or calling various subs you declared beforehand. People here can do very ingenious things, and no doubt can come up with better ideas than mine here, but I'd suggest being a bit more specific and less schematic then. Do you, for instance, really want that E-Prime "runs a Context procedure", or is your aim that the participant will see this or that?
> 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 UMD NCDL
> Sent: 21 September 2009 17:07
> To: E-Prime
> Subject:Responsewhich leads to continuation of a procedure or starts another procedure
>
> Hi all,
>
> I am trying to do a New/Old procedure. If the participant responds
> "New" I want the New/Old procedure to continue with the next stimulus
> presentation. However, if the participant responds "Old" I want a
> Context procedure to run that will allow the participant to respond
> that it was seen in context "A" or context "B." After this I want the
> next stimuli from the New/Old procedure to continue.
>
> Thank you!
> Leslie
> Neurocognitive Development Lab
>
> Neurocognitive Development Lab
> University of Maryland, College Park
>
> 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