Why doesn't this script loop?


Author
Message
Nick Riches
Nick Riches
Esteemed Member (2K reputation)Esteemed Member (2K reputation)Esteemed Member (2K reputation)Esteemed Member (2K reputation)Esteemed Member (2K reputation)Esteemed Member (2K reputation)Esteemed Member (2K reputation)Esteemed Member (2K reputation)Esteemed Member (2K reputation)
Group: Forum Members
Posts: 19, Visits: 69
Hi

I have a very basic query. My script doesn't loop through items. Below is a very simple Minimal Worked Example. It should loop through the sentences, but only displays 1. Thanks

Nick


<item sentences>
/ 1 = "A dog is a canine"
/ 2 = "A cat is a feline"
/ 3 = "A bear is ursine"
</item>

<item questions>
/ 1 = ""
/ 2 = "Did this sentence mention a cat?"
/ 3 = ""
</item>

<text sentence>
/ items = sentences
/ select = text.question.currentindex
</text>

<text question>
/ items = questions
</text>

<trial trial>
/ stimulusframes = [1-3 = noreplace(sentence)]
/ validresponse = ("Y", "N")
</trial>

<block block>
/ trials = [1 = trial]
</block>

<expt expt>
/ blocks = [1 = block]
</expt>


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
Nick Riches - 8 Years Ago
Dave - 8 Years Ago
Nick Riches - 8 Years Ago
Dave - 8 Years Ago
                     + x [quote] [b] Dave - Monday, November 20, 2017 [/b]...
Nick Riches - 8 Years Ago

Reading This Topic

Explore
Messages
Mentions
Search