Removes an item from the list.
<html>
<list>
<picture>
<port>
<sound>
<text>
<video>
<xid>
Name | Type | Description |
---|---|---|
index | integer | The index of the item to remove. The first item in the list is 1. |
The following removes the first item from a text stimulus:
<trial sometrial>
/ ontrialend= [text.sometext.removeitem(1);]
</trial>
The following removes the last item from the selection pool of a list:
<trial sometrial>
/ ontrialend= [list.mylist.removeitem(list.mylist.itemcount);]
</trial>