up Inquisit Language Reference

values element

The values element contains custom variables that can be retrieved and updated throughout the course of a script.

Syntax

<values>
/ valuename1
/ valuename2
/ valuename3
</values>

Properties

values.name
values.typename
values.valuename1
values.valuename2
values.valuename3

Functions

None.

Remarks

The values element allows you to store and update values for purposes of tracking, scoring, and displaying information in an experiment. For example, values can be used to count the occurrence of a particular event, tally scores, and keep trial by trial statistics.

Examples

The following defines and initializes 3 variables for tracking the total score under different conditions.

<values>
/ congruentscore=0
/ incongruentscore=0
/ neutralscore=0
</values>

The following defines a variable that tracks the sum of squares of response latencies.

<values>
/ latencysumofsquares=0</values>

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