Not to be a wise-ass, but did you try adding another End If at the end? <br><br>(I don't know that your code does what you want it to, but this is a simple fix so you can keep troubleshooting.)<br><br>HTH,<br>Susan<br><br>On Thursday, November 8, 2012 10:53:18 AM UTC-5, pure-...@hotmail.co.uk wrote:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;">Hi All
<br>
<br>I have managed to receive some feedback for positive groups. However
<br>when I ran the experiment all the responses excluding negative
<br>responses were positive. I would like to script both negative and no
<br>response as blank and had managed to do only the negative.
<br>My script is as follows but now e-prime comes up with an error stating
<br>encountered: end of line
<br>Expecting: End if.
<br>
<br>My script:
<br>
<br>Dim CorrectAnswer as String
<br>Dim IncorrectAnswer as String
<br>Dim NoResponse as string
<br>
<br>If "TrialStimulus"="sd" then
<br>    CorrectAnswer= "Correct"
<br>
<br>Else if "TrialStimulus"="sd" then
<br>        InCorrectAnswer= "Blank.bmp"
<br>
<br>Else
<br>    NoResponse= "Blank.bmp"
<br>        End if
<br>
<br>
<br>I would like to know what the problem is and how I can fix it as there
<br>seems to not be working at all now.
<br>
<br>Thank you
<br></blockquote>

<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/-/4Gw-T1TXB5gJ">https://groups.google.com/d/msg/e-prime/-/4Gw-T1TXB5gJ</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 />