If the stimuli are simple text string, it would be rather easy to do as described before. The only thing to change is to to add another if-statement to make sure that the current stimulus is only appended to the feedback message if the response was "1":<br>
<br>if StrComp(Stim.RESP,"1")=0 then<br>   if Len(strMessage)=0 then<br>      strMessage = "These are the stimuli: " <br>   else<br>      strMessage= strMessage & ", "<br>   end if<br>   strMessage= strMessage& c.GetAttrib("Stimulus")<br>
end if<br><br>Perhaps it is even better to replace the "if Len(strMessage)=0 then" test with the following: "if counter=0 then". (To reset the message text if the counter is reset to zero.)<br><br>best<br>
paul<br><br><br><div class="gmail_quote">On 12 March 2013 22:21, Tim Ritzert <span dir="ltr"><<a href="mailto:tritzert@kent.edu" target="_blank">tritzert@kent.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="auto"><div>Paul,</div><div><br></div><div>Thanks so much for the help - the first part seems easy enough and I'll see how that goes.</div><div><br></div><div>As for my second question: I want participants to go through a set of 100 stimuli and answer either "1" "2" or "3" to each one, do this again until there are 7 or less "1" responses, and then at the end I want E-Prime to display the final 7 or less stimuli that were responded to with a "1" all at the same time. As I have it now, they display one at a time.</div>
<div><br></div><div>Hope that makes sense, this is all new to me!<br><br>-Tim<div><br></div>Sent from my iPhone</div><div><div class="h5"><div><br>On Mar 12, 2013, at 5:01 PM, Paul Groot <<a href="mailto:pfc.groot@gmail.com" target="_blank">pfc.groot@gmail.com</a>> wrote:<br>
<br></div><blockquote type="cite"><div>Tim,<br><br>The easiest way to do this is to use the []-attribute syntax in the allowable field: [MyKeys]. The MyKeys attribute is normally defined in a list object, but you can also assign values in a small inline script:<br>

<br>if counter<7 then<br>    c.SetAttrib "MyKeys", "AaBb"<br>else<br>    c.SetAttrib "MyKeys", "XxYy<br>end if<br><br>I'm not sure if I understand the second question, but my guess is that it would be rather easy to keep a global variable that is used to ensemble an message string for the incorrect responses. <br>

<br>if Len(strMessage)=0 then<br>   strMessage = "You entered the following wrong responses: " <br>else<br>   strMessage= strMessage & ", "<br>end if<br>strMessage= strMessage& c.GetAttrib("Stimulus")<br>

<br>This variable can then be used to display a feedback message (again using a []-attribute reference):<br><br>c.SetAttrib "Message", strMessage<br><br>You must also take care to clear the global strMessage variable at the start of each new series.<br>

(And don't forget to declare the global strMessage variable)<br><br>Best<br>Paul<br><br><br><div class="gmail_quote">On 12 March 2013 20:53, Tim <span dir="ltr"><<a href="mailto:tritzert@kent.edu" target="_blank">tritzert@kent.edu</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I am running a study in which participants re-run trials based on previous responses (i.e. errors are re-run until reaching a criterion of 7).<br>

<br>That all works wonderful, however I would like to change the allowable responses during certain re-runs of the stimuli. I already have cycle counter declared as a global variable (counting the number of re-runs) but I cannot determine the inline syntax necessary to tell E-Prime to change the allowable responses based on the value of the cycle counter. Does anyone know how this would be done?<br>

<br>Also, does anyone know how to simultaneously display multiple levels of the same attribute on one text display? This is for the same study as above. Basically, when participants reach criterion of # of errors, I would like to display all errors simultaneously.<br>

<br>Thanks so much in advance,<br>Tim<span><font color="#888888"><br><br>

<p></p>

-- <br>
You received this message because you are subscribed to the Google Groups "E-Prime" group.<br>
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:e-prime%2Bunsubscribe@googlegroups.com" target="_blank">e-prime+unsubscribe@googlegroups.com</a>.<br>
To post to this group, send email to <a href="mailto:e-prime@googlegroups.com" target="_blank">e-prime@googlegroups.com</a>.<br>
To view this discussion on the web visit <a href="https://groups.google.com/d/msg/e-prime/-/bOMsaRhElu0J" target="_blank">https://groups.google.com/d/msg/e-prime/-/bOMsaRhElu0J</a>.<br>
For more options, visit <a href="https://groups.google.com/groups/opt_out" target="_blank">https://groups.google.com/groups/opt_out</a>.<br>
 <br>
 <br>
</font></span></blockquote></div><br>

<p></p>

-- <br>
You received this message because you are subscribed to the Google Groups "E-Prime" group.<br>
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:e-prime+unsubscribe@googlegroups.com" target="_blank">e-prime+unsubscribe@googlegroups.com</a>.<br>
To post to this group, send email to <a href="mailto:e-prime@googlegroups.com" target="_blank">e-prime@googlegroups.com</a>.<br>
For more options, visit <a href="https://groups.google.com/groups/opt_out" target="_blank">https://groups.google.com/groups/opt_out</a>.<br>
 <br>
 <br>
</div></blockquote></div></div></div><div class="HOEnZb"><div class="h5">

<p></p>

-- <br>
You received this message because you are subscribed to the Google Groups "E-Prime" group.<br>
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:e-prime%2Bunsubscribe@googlegroups.com" target="_blank">e-prime+unsubscribe@googlegroups.com</a>.<br>
To post to this group, send email to <a href="mailto:e-prime@googlegroups.com" target="_blank">e-prime@googlegroups.com</a>.<br>
For more options, visit <a href="https://groups.google.com/groups/opt_out" target="_blank">https://groups.google.com/groups/opt_out</a>.<br>
 <br>
 <br>
</div></div></blockquote></div><br>

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups "E-Prime" group.<br />
To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe@googlegroups.com.<br />
To post to this group, send email to e-prime@googlegroups.com.<br />
For more options, visit <a href="https://groups.google.com/groups/opt_out">https://groups.google.com/groups/opt_out</a>.<br />
 <br />
 <br />