up Inquisit Language Reference

stimulusFrame function

Returns the first stimulus presented on the frame at the specified index.

Member of

<trial><likert><openended><sliderTrial><surveyPage>

Syntax

trial.name.stimulusFrame(index)

Return Type

stimulus

Parameters

Name Type Description
index integer The index of the item to get. The first item in the list is 1.

Remarks

The stimulusFrame function returns the first stimulus, if any, presented on the specified frame of the trial.

Examples

The following displays the name of the stimulus presented on the first frame of a trial:

<text myText>
/ items= ("current category = <% trial.myTrial.stimulusFrame(1) %>")
</text>

The following displays the name of the stimulus presented on the tenth frame of a trial:

<page myPage>
current category  = <% trial.myTrial.stimulusFrame(10) %>
</page>

Copyright Millisecond Software, LLC. All rights reserved.