Group: Forum Members
Posts: 4,
Visits: 7
|
Thanks Dave! I'll give that a try.
|
Group: Administrators
Posts: 13K,
Visits: 104K
|
Double-check your syntax. There's an error in there somewhere (in the stuff you did not include). Doing
<block myblock> / trials = [1-8= noreplace(1a,1b,1c,1d); 9-16= noreplace (2a,2b,2c,2d); 17,19,21,23,25=noreplace(3a,3b,3c,3d); 18,20,22,24,26= noreplace (4a,4b,4c,4d)] </block> <trial 1a> / validresponse = (57) </trial> <trial 1b> / validresponse = (57) </trial> <trial 1c> / validresponse = (57) </trial> <trial 1d> / validresponse = (57) </trial> <trial 2a> / validresponse = (57) </trial> <trial 2b> / validresponse = (57) </trial> <trial 2c> / validresponse = (57) </trial> <trial 2d> / validresponse = (57) </trial> <trial 3a> / validresponse = (57) </trial> <trial 3b> / validresponse = (57) </trial> <trial 3c> / validresponse = (57) </trial> <trial 3d> / validresponse = (57) </trial> <trial 4a> / validresponse = (57) </trial> <trial 4b> / validresponse = (57) </trial> <trial 4c> / validresponse = (57) </trial> <trial 4d> / validresponse = (57) </trial>
is perfectly valid and will parse just fine (as you can try for yourself using the above code).
|
Group: Forum Members
Posts: 4,
Visits: 7
|
For some reason I'm unable to do the following:
/ trials = [1-8= noreplace (1a,1b,1c,1d, etc.); 9-16= noreplace (2a,2b,2c,2d, etc.); 17,19,21,23,25= noreplace (3a,3b,3c,3d, etc.); 18,20,22,24,26= noreplace (4a,4b,4c,4d,etc.)]
In order for it to work, I must put a square bracket after "9-16= noreplace (2a,2b,2c,2d, etc.)]", however, this then stops the display from running after the 16th trial. If I were to put the trials as "1,3,5,7= noreplace (3a,3b,3d, etc.); 2,4,6,8= noreplace (4a,4b,4c, etc.); 9-16(1a,1b,1c,1d, etc.); 17-26(2a,2b,2c, etc.) it works fine, no square brackets needed until the very end. Why is this? Thanks for your help! :)
|
Group: Administrators
Posts: 13K,
Visits: 104K
|
That's no problem at all:
<block myblock> / trials = [1,3,5,7,9,11,13,15=noreplace(a1,a2,a3,a4); 2,4,6,8,10,12,14,16=noreplace(b1,b2,b3,b4)]
|
Group: Forum Members
Posts: 4,
Visits: 7
|
I'm trying to randomize by outputs, but with some order still. Is there a command to do so? I've tried several combinations, but with no luck. Specifically, I have a group of trials from "1(a-l)" to "6(a-l)" (72 in total) and another group of trials from "7(a-l)" to "12(a-l)" (another 72 in total). I want to randomly select one stimuli from the first group and then randomly select one trial from the second group, going back and forth between the groups until all stimuli have been used.
Any suggestions?
|