The values element contains custom variables that can be retrieved and updated throughout the course of a script.
<values>
/ valuename1
/ valuename2
/ valuename3
</values>
values.name
values.typename
values.valuename1
values.valuename2
values.valuename3
None.
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.
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>