Two questions

Paul Groot pfc.groot at gmail.com
Tue Mar 12 21:01:05 UTC 2013


Tim,

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:

if counter<7 then
    c.SetAttrib "MyKeys", "AaBb"
else
    c.SetAttrib "MyKeys", "XxYy
end if

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.

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

This variable can then be used to display a feedback message (again using a
[]-attribute reference):

c.SetAttrib "Message", strMessage

You must also take care to clear the global strMessage variable at the
start of each new series.
(And don't forget to declare the global strMessage variable)

Best
Paul


On 12 March 2013 20:53, Tim <tritzert at kent.edu> wrote:

> 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).
>
> 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?
>
> 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.
>
> Thanks so much in advance,
> Tim
>
>  --
> You received this message because you are subscribed to the Google Groups
> "E-Prime" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to e-prime+unsubscribe at googlegroups.com.
> To post to this group, send email to e-prime at googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/e-prime/-/bOMsaRhElu0J.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

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


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.linguistlist.org/pipermail/eprime/attachments/20130312/dab90ad4/attachment.htm>


More information about the Eprime mailing list