DMDX Help.

Increment Counter If Wrong Keyword

<IncrementIfWrong N>
<inciw N>

    Adds one to 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.