up Inquisit Language Reference

resetinterval attribute

The resetinterval attribute determines how many blocks should be run before a counter's randomly selection pool should be reset.

Member of

<counter> <list> <picture> <port> <sound> <text> <video> <xid>


/ resetinterval = integer


integer A positive integer specifying the number of blocks, or 0 to reset only after all items have been selected.


Resetting the counter causes all items that have been selected to be returned to the selection pool. For selection with replacement, resetting the counter has no effect. This attribute is useful in cases where an experiment performs random selection without replacement over more than one block.

The default behavior for counter elements is to reset after each block (equivalent to a setting value of 1). The default behavior for list elements is to reset only after all items have been selected (equivalent to a setting value of 0).


The following causes the counters to reset only when all items have been selected:

<counter example>
/ items = (1, 2, 3, 4, 5)>/ resetinterval = 0

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