up Inquisit Language Reference

count property

The number of times the specified element has been run withing the current block.

Member of

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

Remarks

If the element is a block, this property always returns 1 because a block can only be run once within a single block. If the element is a trial, this property returns the number of times the given trial has been run within the block.

Examples

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

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

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

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

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