How do I program E-Prime to jump to the end of the trial based on an incorrect response?
The Label object allows you to mark a location in a procedure and to jump to this location based on some criterion (e.g., incorrect response). The sample experiment named NestingXRT (C:\My Experiments\Samples) is included with each install to illustrate this functionality. However, in the sample experiment the criterion to jump is based on any type of input. The NestingXRT sample experiment can be modified as described below to illustrate just how to jump to the end of a trial if an incorrect response is detected or to continue with the trial when a response is correct. First, in the TrialList you must create another attribute named IncorrectAnswer. This attribute will be used to indicate when the subject presses an incorrect answer to jump to the end of the trial. Essentially, the values would be the opposite values of the correct answer attribute.