The select attribute determines the method by which individual items are selected for presentation on a given trial.
<counter> <picture> <port> <sound> <text> <video> <xid>
or
/ select = selectionmodeor
/ select = selectionmode(pool)or
/ select = dependency(stimulusname)or
/ select = dependency(listname)or
/ select = listnameinteger | An integer value. | ||||||||||||||||||
selectionmode |
One of the following values:
|
||||||||||||||||||
dependency |
One of the following values:
|
||||||||||||||||||
stimulusname | The name of a stimulus defined elsewhere in the script. | ||||||||||||||||||
listname | The name of a list defined elsewhere in the script. | ||||||||||||||||||
pool | A set of numbers representing the selection pool. |
The default value is noreplace.
On each trial, the following stimulus selects the vice president who served with the corresponding president:
<text vicepresidents>
/ items = vicepresidentitems
/ select = current(presidents)
</text>
The following first selects Jefferson, then Adams, and then Washington:
<text presidents>
/ items = ("George Washington", "John Adams", "Thomas Jefferson")
/ select = sequence(3, 2, 1)
</text>
The following randomly selects mountain pictures and ensures that the selected item isn't the same as the currently selected valley item:
<picture moutains>
/ items = ("rainier.bmp", "baker.jpg", "sainthelens.gif")
/ select = noreplacenot(valleys)
</picture>
The following randomly selects sound files without replacement, except if an incorrect response is give on the trial:
<sound rock>
/ items = ("beatles.wav", "stones.wav", "thewho.wav")
/ select = noreplacecorrect
</sound>