help needed

alp115 asmahanif85 at gmail.com
Wed Jul 15 14:16:02 UTC 2009


Hi,

Thanks for your reply Tim,

This is a part of code from studyrecall.es downloaded from PST, Can
anybody explain me what is this actually meant for. I am having
difficulty understanding it.

Dim i As Integer
Dim unsampled As Integer

For i = 0 To 1
'Choose levels until get an unsampled level
Do
unsampled = Random(1, StudyList.Order.Count)
Loop Until StudyList.GetAttrib(unsampled, "Sampled") <> "1"

'set the new sample as sampled
StudyList.SetAttrib unsampled, "Sampled", "1"

'add the level to RecallList - increase counter to add levels
counter = counter +1
RecallList.SetAttrib counter, "Word", StudyList.GetAttrib (unsampled,
"Word")
RecallList.SetAttrib counter, "CorrectAnswer", "2"

Next i

RecallList.Reset


Thanks,
Asma

On Jul 15, 8:10 am, Victor <t1m... at yahoo.co.uk> wrote:
> Hi Asma,
>
> Try first looking at "Rerun Error Trials Until All Correct" example on
> the ptsnet.com (you will rewuire a log in). I think this will get you
> started.
>
> Tim
>
> On Jul 14, 11:58 pm, alp115 <asmahani... at gmail.com> wrote:
>
> > Hi all,
>
> > I am a novice with E Prime. I am working on an experiment where I want
> > to compute accuracy of a block of trials and present the correct
> > images along with some new images in another block of trials. Does
> > anyone has a similar code or could help me with it?
>
> > ~Asma
--~--~---------~--~----~------------~-------~--~----~
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