Hi Garima,
My guess is that you have a ‘total balance’ somewhere defined as an attribute. At the end of the trial, you might update it to 4200 or whatever, but with the next trial, the total balance is filled in once again. The easiest solution is to simply define “Dim currentTotal as long” in the user script of the experiment, and then after each trial to add or subtract from this amount. Then, instead of using the attribute “totalBalance” to show some number, add a little script before it shows, writing “setattrib “totalBalance”, currentTotal” Voila.
I was just busy with looking at an old experiment I based on the iowa gambling task, actually; what a coincidence!
Best,
Michiel
// Michiel Spapé, PhD
// Associate professor in cognitive neuroscience
// Institute of Collaborative Innovation
// Centre for Cognitive and Brain Sciences
// University of Macau
// N21 Office 1015c
// Avenida da Universidade
// Taipa, Macau SAR
--
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+u...@googlegroups.com.
To view this discussion visit
https://groups.google.com/d/msgid/e-prime/CAEeA3vUh57LC%2Bjf9LCmdU3v%2BuPC8R89hrEJtt6rxcAdL93zu1w%40mail.gmail.com.
--