DMDX Help.

Decrement Counter If Wrong Keyword

<DecrementIfWrong N>
<deciw N>
<DecrementIfWrong counterN>
<deciw counterN>
<DecrementIfWrong cN>
<deciw cN>

    Subtracts one from counter number N if the RT is wrong. In keeping with the precedent set by early branching code wrong responses include no responses.  Conditional arithmetic keywords (<incic>, <inciw>, <incinr>, <decic>, <deciw>, <decinr>) are evaluated after the item is displayed.  See the Set Counter keyword.

DMDX Index.