Access samples & cycles in inline code

Alex alexandra.frischen at googlemail.com
Wed Mar 3 17:58:49 UTC 2010


Hi there,

There didn't seem to be any option to post a reply to that particular
discussion board, so I'm re-posting the original question along with
the solution:

>---------- Forwarded message ----------
>From: Eliezer Kanal <e... at pitt.edu>
>Date: May 5 2008, 6:06 pm
>Subject: Access samples & cycles in inline code
>To: E-Prime
>
>
>Hello folks -
>
>I would like to display a message to my subjects telling them that I
>have completed "X of Y blocks", where X is the current sample/cycle/
>combination of both that we're up to, and Y is the total number of
>sample/cycle/combinations of both that they'll complete. Is there some
>way to find that (I'm imagining something like
>List1.GetAttrib("CurrentCycle") or something). Thanks!
>
>Eliezer Kanal

Solution:
to access the current cycle: c.getAttrib("myList.cycle")
to access the current sample: c.getAttrib("myList.sample")

-- 
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