dynamically created List only operates for level 1
sally
gusunny1 at gmail.com
Thu Mar 20 10:26:26 UTC 2014
Hi,JACanterbury
I am confronted the same problem with you while the only one problem is
that I want to dynamically show the pictures not the text. But this doesn't
work, so I added one picture in the List initially my List attribution on
stimulus is null.
So it can go but only for 1st picture I put in List from the very begining
and no other dynamically added pictures are shown. I have reset the list
and add the terminatecondition and the reset condition. I don't know what's
going on there. Hope somebody can help.
Any help are appreciated.
On Thursday, 6 October 2011 23:53:17 UTC+8, JACanterbury wrote:
>
> Hi
>
> I'm setting up my TrialList to have only 1 level and then building it
> on the fly something like this ...
> >>>>>>>>>>>>>>>>>
> for index = 1 to NUMBER_OF_TRIALS
>
> TrialList.setProc index, "TrialProc"
> TrialList.setWeight index, "1"
> TrialList.setAttrib index, "response", responses( index )
> TrialList.setAttrib index, "image", "images\\" & images( index )
> TrialList.setAttrib index, "delay", Random( interval_min,
> interval_max )
>
>
> if index < NUMBER_OF_TRIALS then
> TrialList.AddLevel index + 1 ' add the next level to
> the list
> ready for the next loop iteration
> end if
>
> next
>
> debug.print "TrialList size = " & TrialList.Size
> >>>>>>>>>>>>>>
>
> this code all works fine and adds the extra levels and the final
> debug.print displays the correct value (50 in this case) however the
> script then only performs 1 iteration so it seems to ignore all the
> extra levels that have been dynamically added.
> Interestingly, if I add an extra level ie level 2) manually before
> running this code (with the approp tweak to stop AddLevel complaining)
> then the list operates for level 1 & level 2.
>
> It's as if e-prime is using the startup value for the list size and
> ignoring what has happened at run time.
>
> Any ideas would be appreciated ( i'd rather keep it dynamic if
> possible)
>
> Thanks
--
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/msgid/e-prime/ae6eefbd-ea2b-47e5-a57c-402356fac98d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.linguistlist.org/pipermail/eprime/attachments/20140320/03133f1d/attachment.htm>
More information about the Eprime
mailing list