up Inquisit Language Reference

not attribute

The not attribute specifies that selected values may not equal the current value of the specified counter or stimulus.

Member of

<counter>

Syntax

/ not = (stimulusname, stimulusname, stimulusname)

or

/ not = (countername, countername, countername)

Parameters

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.

Remarks

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.

Examples

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>

Copyright Millisecond Software, LLC. All rights reserved.