This sample shows you how to evaluate a subject’s input and then perform a conditional action based on that response. The contingent branching paradigm shows three different ways to do this.
In the first procedure, the subject’s response is evaluated in an InLine script and E-Prime either advances on to the next object in the procedure or goes to an appropriate label. If the first selection is made, another InLine script then goes to the Label at the end of the procedure to skip over the rest of the unneeded objects.
Next, in the second procedure, there are two keyboard Input Masks on one object. Depending on the subject’s response, one of the Input Masks will execute its End Action. One InputMask is set to Terminate so that E-Prime will execute the next object in the procedure. The other InputMask is set to jump to a Label later on in the procedure, skipping over the other objects.
Finally, in the third procedure, an InLine script evaluates the subject’s response and runs an appropriate List. The chosen List will sample its contents just like any other List. Since the Lists and accompanying procedures are only run when chosen and not at every run, they are all located in Unreferenced E-Objects.
To convert this sample to the E-Prime 2.0 file format in E-Studio, go to File - Open, navigate to the .es file, change the 'Files of type:' to 'E-Studio 1.x Files (*.es)', select the file, click on 'Open', and then 'OK' to accept the conversion prompt.