This example will illustrate the process of creating a general Element that has four of the above buttons contained in the Interaction list. To provide the correct answer, the user must set Button A and Button D to the pressed state. We will assume that the Button Names and Values are as follows:

Button Name

Button Value

Button A

A

Button B

B

Button C

C

Button D

D



To test for the correct response the condition must check if Buttons A and D have been set to the pressed state, and the remaining buttons are in the up state. In this case the Interaction list contains no button/fields of higher priority so the ANSWER System variable can be used:

IF ANSWER = A,D

The following condition is equivalent but does not use ANSWER:

IF Button A = true

AND Button D = true

AND Button B = false

AND Button C = false