The not attribute specifies that selected values may not equal the current value of the specified counter or stimulus.
<counter>
or
/ not = (countername, countername, countername)Name | Type | Description |
---|---|---|
stimulusname | stimulus | The name of a stimulus element defined elsewhere in the script. |
countername | counter | The name of a counter element defined elsewhere in the script. |
The not attribute is used to prevent a counter from selecting the same item as another stimulus or counter. When not is specifies, selection procedes normally as specified by the select attribute. If the selected item is equal to the not item, then the item is returned to the pool and another is selected.
The following counter randomly selects a value from 1 to 10, but reselects if the value is equal to the currently selected item of <em>myText</em>.
<counter mycounter>
/ select=noreplace(1-10)
/ not=myText
</counter>