i think the problem might be here:<div>Else ManSun4.RESP = "e" Then</div><div>maybe you meant to type</div><div>ElseIf ManSun4.RESP = "e" Then</div><div><br></div><div>the Else statement (not elseif) we be a line unto itself. it's a catch-all, not a single case kinda deal.</div>
<div>so alternatively you might have meant to type</div><div>Else<br> EndExperimentTempList.Run c</div><div>End If</div><div><br><div class="gmail_quote">On Tue, Aug 2, 2011 at 7:36 PM, KarisaP <span dir="ltr"><<a href="mailto:karisaparkington@gmail.com">karisaparkington@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hey all,<br>
<br>
I am having a hard time convincing eprime that it really does want to<br>
do the following script. I have used something that is pretty much<br>
identical in another experiment without any hiccups but for some<br>
reason eprime is getting upset with the following:<br>
<br>
If ManSun4.RESP = "y" Then<br>
MoonPracProc.Run c<br>
Elseif ManSun4.RESP = "n" Then<br>
FISTTempList.Run c<br>
Else ManSun4.RESP = "e" Then<br>
EndExperimentTempList.Run c<br>
End If<br>
<br>
I keep getting the following error message<br>
<br>
Encountered: Then<br>
Expecting: ':', end of line.<br>
<br>
Any idea what the problem is and how to fix it?<br>
<font color="#888888"><br>
--<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 <a href="mailto:e-prime@googlegroups.com">e-prime@googlegroups.com</a>.<br>
To unsubscribe from this group, send email to <a href="mailto:e-prime%2Bunsubscribe@googlegroups.com">e-prime+unsubscribe@googlegroups.com</a>.<br>
For more options, visit this group at <a href="http://groups.google.com/group/e-prime?hl=en" target="_blank">http://groups.google.com/group/e-prime?hl=en</a>.<br>
<br>
</font></blockquote></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 />
For more options, visit this group at http://groups.google.com/group/e-prime?hl=en.<br />