up Inquisit Language Reference

onexptend attribute

The onexptend attribute specifies commands to be run at the end of an expt.

Member of

<expt>

Syntax

/ onexptend = [expression; expression; expression; ...]

Parameters

expression One or more expressions, delimited by semi-colons. See help with expression syntax for more information.

Remarks

This parameter executes one or more specified expressions after an expt is complete. The expressions can read and conditionally update the various properties in the script. This is useful for dynamically configuring the experiment or recording data based on, for example, the subject's performance on that expt.

Examples

The following expt calculates a d score after the expt is complete:

<expt myexpt>
/ blocks=[1=compatible; 2=incompatible)]
/ onexptend=[values.d = (block.incompatible.meanlatency - block.compatible.meanlatency) / expt.myexpt.sdlatency]
</expt>

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