up Inquisit Language Reference

poolsize property

Gets or sets the size of the selection pool.

Member of

<list>

Remarks

The poolsize attribute creates a random selection pool of the specified size, adding items according to any itemprobabilities specified, or otherwise in proportion to their occurrence the items attribute. If poolsize is not specified, the size of the pool is equal to the number of items listed in the items attribute.

When setting poolsize in combination with itemprobabilities, choose a size for which each of specified probabilities results in a whole number of items in the pool. If the poolsize results in a fractional count of a given item, the count will be rounded to the nearest integer.

Examples

The following sets poolsize to 100 on a list:

<trial example>
/ ontrialbegin = [list.primenumbers.poolsize = 100;]
</trial>

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