up Inquisit Language Reference

selectionMode attribute

The selectionMode attribute determines the method by which individual items are selected for presentation on a given trial. The default is random selection of items without replacement with uniform probability.

Member of

<batch> <list>

Syntax

/ selectionMode = selectionmode

or

/ selectionMode = value

Parameters

Name Type Description
selectionmode selectionmodeenum
ValueDescription
randomRandomly select without replacement, equal to noreplace option.
sequenceSelects items in the given sequence.
value value An expression returning the selected index.

Remarks

The default value is random.

Examples

The following first selects Washington, then Adams, and then Jefferson:

<list presidents>
/ items = ("George Washington", "John Adams", "Thomas Jefferson")
/ selectionMode = sequence
</list>

Copyright Millisecond Software, LLC. All rights reserved.