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 = expression

Parameters

selectionmode One of the following values:
Value Description
random Randomly selects items.
sequence Selects items in sequential order.
expression An valid expression that evaluates to an integer.

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>

Send comments on this topic:
Copyright Millisecond Software, LLC. All rights reserved.