Deprecated Replaced by setitem
Sets the item of the given element at the given index to the given value.
<global>
none
| Name | Type | Description |
|---|---|---|
| set | set | A list, stimulus, item, or counter element. |
| value | value | The new value for the item. |
| index | integer | The index of the item to set. The first item in the list is 1. |
The setItem function clears the previous value at a specified index and sets it to a new value. When passed in a list element, for example, the function sets a selection pool item. When called on a stimulus element, the stimulus item is set.