up Inquisit Language Reference

count property

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

Member of

<block> <expt> <likert> <openended> <sliderTrial> <survey> <surveyPage> <trial>

Syntax

event.name.count

Read Only

Type

integer

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 myText>
/ items= ("count = <% trial.myTrial.count %>")
</text>

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

<page myPage>
count = <% trial.myTrial.count %>
</page>

Copyright Millisecond Software, LLC. All rights reserved.