Hello everyone!<div><br></div><div>I would really appreciate if someone could help me understand the following:</div><div><br></div><div>I have a conditional practice block with a script that displays one text in the following text-object if the accuracy-criterium is met. If the criterium is not met it displays another text in the same text-object and then jumps back to a label (goto). If the criterium is met everything works as intended. But in the case of the criterium not being met the text-object only terminates with input if I manually specify the InputMask for the text-object in the script, not if I merely specifiy the input in the GUI of the text-object (see below)</div><div>I'd really like to understand this enigma! ;)</div><div><br></div><div>Thanks in advance!</div><div>Jakob</div><div><br></div><div><font size="1">Here is the relevant part of the experimental procedure and the script in question (CheckACC):</font></div><div>--------------------------------------------------------------------------------------------------</div><div><div><font size="1"><b>PracticeBlockProcedure</b></font></div></div><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"><div><div><font size="1"><b>Setup</b> (Script that sets a Summation Variable)</font></div></div></blockquote><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"><div><font size="1"><b>PracticeInstruction</b> (TextDisplay Object)</font></div></blockquote><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"><div><font size="1"><b>Label2</b> (Label)</font></div></blockquote><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"><div><font size="1"><b>Reset</b> (Script that resets the Summation Variable)</font></div></blockquote><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"><div><font size="1"><b>Practice List</b> (List Object)</font></div></blockquote><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"><div><font size="1"><b>PracticeListProcedure</b></font></div></blockquote></blockquote><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"><div><font size="1"><b>PracticeDisplay</b> (ImageDisplay Object)</font></div></blockquote></blockquote></blockquote><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"><div><font size="1"><b>PracticeFeedback</b> (FeedbackObject)</font></div></blockquote></blockquote></blockquote><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"><div><font size="1"><b>AddObservation</b> (Script that adds the ACC of the PracticeDisplay to the Summation Variable so it can be compared to the criterium later on)</font></div></blockquote></blockquote></blockquote><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"><div><font size="1"><b><i>CheckACC</i></b> (Script that checks if the ACC criterium has been met and branches accordingly; <b>the line in question is in talics - see below</b>)</font></div></blockquote><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"><div><font size="1"><b>EndPrac</b> (TextDisplay Object that displays a text depending on the CheckACC script)</font></div></blockquote><div>-------------------------------------------------------------------------------------------------- <br></div><div><b><i><u><br></u></i></b></div><div><b><i><u>CheckACC-Script:</u></i></b><br></div><div><font size="1">If PracticeACC.Mean >= .80  Then</font></div><div><font size="1"><span class="Apple-tab-span" style="white-space:pre">      </span>EndPrac.Text = "Well done."</font></div><div><font size="1">Else</font></div><div><font size="1"><span class="Apple-tab-span" style="white-space:pre">     </span>EndPrac.Text = "Try again."</font></div><div><span class="Apple-tab-span" style="white-space:pre"><font size="1">    </font></span><i style="font-size: x-small; ">EndPrac.InputMasks.Add Keyboard.CreateInputMask("{SPACE}", "", CLng(Pause.Duration), CLng("1"), ebEndResponseActionTerminate, CLogical("Yes"), "", "", "ResponseMode:All ProcessBackspace:Yes")</i></div><div><font size="1"><span class="Apple-tab-span" style="white-space: pre; ">       </span>EndPrac.Run</font></div><div><font size="1"><span class="Apple-tab-span" style="white-space:pre">      </span>Goto Label2</font></div><div><font size="1">End If</font></div><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"><div> </div></blockquote><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"><div> </div></blockquote></blockquote></blockquote></blockquote><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"><div> </div></blockquote></blockquote><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"><div> </div></blockquote></blockquote><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"><div> </div></blockquote></blockquote><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"><div><div> </div></div></blockquote></blockquote><div><div> </div></div><div><br></div><div><br></div>

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups "E-Prime" group.<br />
To post to this group, send email to e-prime@googlegroups.com.<br />
To unsubscribe from this group, send email to e-prime+unsubscribe@googlegroups.com.<br />
To view this discussion on the web visit <a href="https://groups.google.com/d/msg/e-prime/-/atKZiK1ES_MJ">https://groups.google.com/d/msg/e-prime/-/atKZiK1ES_MJ</a>.<br />
For more options, visit <a href="https://groups.google.com/groups/opt_out">https://groups.google.com/groups/opt_out</a>.<br />
 <br />
 <br />