I had a REAL long post but then realised that your question can
actually be answered much simpler.
Below is part of the filling code. It filles level 3 and 4 of the
triallist (so trialpair 3 and 4 that are trials 5/6 and 7/8 as there
are two trials (prime and probe) to each trialpair. Triallist
therefore consists of 4 attirubtes primedistractor, primetarget,
probedistractor and probetarget, to gain control over 2 consecutive
'trials' (two slides prime and probe on the trialproc). Poswords,
neutwords and negwords are the names of the three arrays." Triallist
setattrib 3 " refers to the 3rd level of triallist.
'Fill level 3 of Triallist (negative control)
TrialList.SetAttrib 3, "primedistractor", poswords(3)
Triallist.setattrib 3, "primetarget", poswords(4)
Triallist.setattrib 3, "probedistractor", neutwords(2)
Triallist.setattrib 3, "probetarget", negwords(3)
'Fill level 4 of Triallist (negative experimental)
TrialList.SetAttrib 4, "primedistractor", negwords(4)
Triallist.setattrib 4, "primetarget", poswords(5)
Triallist.setattrib 4, "probedistractor", neutwords(3)
Triallist.setattrib 4, "probetarget", negwords(5)
It's really very simple, although it's a bit of a hassle to type it
all out (should be able to automate it... ) but yet it's far more
simple than the version I received from someone else who had done all
the randomizing by hand.
Thanks again for your help Peter!
Best regards,
liwenna