up Inquisit Language Reference

items attribute

The items attribute defines the pool of items to be selected by a counter element.

Member of

<counter>

Syntax

/ items = (value, value, value,... )

Parameters

Name Type Description
value value A value, numeric or otherwise, to be included in the selection pool.

Remarks

Values in the item pool can be numbers, strings, and properties.

Examples

The following randomly selects the name of a president:

<counter presidents>
/ select = noreplace
/ items = ["George Washington"; "John Adams"; "Thomas Jefferson"]
</counter>

The following selects a countdown of numbers:

<counter countdown>
/ select = sequence
/ items = [3; 2; 1]
</counter>

Copyright Millisecond Software, LLC. All rights reserved.