up Inquisit Language Reference

trialcount property

The number of trials that have been run within the given element within the current block.

Member of

<block> <expt> <likert> <openended> <script> <trial>

Remarks

If the element is a block, this property returns the total number of trials run in the block regardless of trial type. If the element is a trial, this returns the number of times that type of trial was run within the block.

Examples

The following displays the value of trialcount in a text stimulus:

<text sometext>
/ items= ("trialcount = <% trial.sometrial.trialcount %>")
</text>

The following displays the value of trialcount in an instruction page:

<page somepage>
trialcount = <% trial.sometrial.trialcount %>
</page>

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