up Inquisit Language Reference

default attribute

The default attribute defines variable assignments for subject numbers that do not fall into any groups.

Member of

<variables>

Syntax

/ default = (variablename = value, variablename = value, ...)

Parameters

variablename The name of a variable to be substituted in the script with its associated value.
value The name of an element in the script to substitute for the variablename.

Remarks

If a subject number does not belong to any groups, the variable assignments defined by the default attribute are applied. The variablename is replaced with the element name specified by value whereever it occurs in the script.

Examples

The following specifies that for odd numbered subjects, the first block is "conditiona" and for every other subject number, the first block is "conditionb".

<variables>
/group=(1 of 2) (block1=conditiona)
/default=(block1=conditionb)
</variables>

The following specifies that the first two of every four subjects (e.g., 1, 2, 5, 6, 9, 10, ...) are presented "redprime" and "redtarget". The third of every four subjects are shown "blueprime" and "bluetarget". Everyone else is shown "whiteprime" and "whitetarget".

<variables>
/group=(1, 2 of 4) (prime=redprime, target=redtarget)
/group=(3 of 4) (prime=blueprime, target=bluetarget)
/default=(prime=whiteprime, target=whitetarget)
</variables>

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