The index of the currently selected stimulus or counter item.
<counter> <picture> <port> <sound> <text> <video>
None.
The following displays the value of selectedindex in a text stimulus:
<text sometext>
/ items= ("selectedindex = <% text.sometext.selectedindex %;>")
</text>
The following displays the value of selectedindex in an instruction page:
<page somepage>
selectedindex = <% text.sometext.selectedindex %;>
</page>