up Inquisit Language Reference

items attribute

The items attribute defines the items contained in the stimulus set.

Member of

<image>

Syntax

/ items = itemname

or

/ items = ("path", "path", "path",... )

Parameters

itemname The name of an item element defined elsewhere in the script.
item A quoted string representing an actual item.

Remarks

Items can be defined either by specifying the name of an <item element>, or by directly by listing each item in the set.

Different types of stimulus elements use the items in difference ways. If the stimulus is a text element, items represent the actual text items to be presented. If the stimulus is a picture, sound, or video, then the items are the names of the files containing the relevant media. If the stimulus is a port element, the items are strings of 0's and 1's representing 8-bit TTL signals. Characters in an item are specified in descending bit order, with the leftmost 0 or 1 value representing the highest bit and the rightmost value representing the lowest order bit. See How to Present TTL Signals Through the Parallel Port for more details.

Examples

The following selects items defined in an external items element named "presidentitems":

<text presidents>
/ items = presidentitems
</text>

The following defines image items:

<image moutains>
/ items = ("rainier.bmp", "baker.jpg", "sainthelens.gif")
</picture>

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