up Inquisit Language Reference

clearitems function

Removes all of the element's items.

Member of

<html>

<list>

<picture>

<port>

<sound>

<text>

<video>

<xid>

Syntax

element.name.clearitems()

Parameters

None.

Examples

The following clears all of the items from a text stimulus:

<trial sometrial>
/ ontrialend= [text.sometext.clearitems();]
</trial>

The following clears all of the items from the selection pool of a list:

<trial sometrial>
/ ontrialend= [list.mylist.clearitems();]
</trial>

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