up Inquisit Language Reference

item function

Returns the item at the specified index.

Member of

<html>

<list>

<picture>

<port>

<sound>

<text>

<video>

<xid>

Syntax

element.name.item(index)

Parameters

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

Examples

The following displays an item from one text element in the item from another text element:

<text sometext>
/ items= ("current category = <% text.someothertext.item(1) %>")
</text>

The following displays a stimulus item in an instruction page:

<page somepage>
current category = <% text.current.item(10) %>
</page>

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