up Inquisit Language Reference

nextindex property

The index of the next-selected value of a standalone list item or a stimulus list.

Member of

<list> <picture> <port> <sound> <text> <video>

Remarks

A new index and value are selected according to the selectionrate setting. If the selectionrate is set to "always", for example, this property selects a new index and value from the list everytime it is accessed. If selectionrate is "trial", a new index and value are selected the first time the property is accessed on a given trial, and the same index is returned every subsequent time the property is accessed on that trial.

To retrieve the current index without causing a new index and value to be selected, see the currentindex property.

This property is a synonym for the obselete "selectedindex" property.

Examples

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

<text sometext>
/ items= ("nextindex = <% text.sometext.nextindex %>")
</text>

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

<page somepage>
nextindex = <% text.sometext.nextindex %>
</page>

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