Conditional: progression error
ben robinson
baltimore.ben at gmail.com
Wed Aug 3 01:01:24 UTC 2011
i think the problem might be here:
Else ManSun4.RESP = "e" Then
maybe you meant to type
ElseIf ManSun4.RESP = "e" Then
the Else statement (not elseif) we be a line unto itself. it's a catch-all,
not a single case kinda deal.
so alternatively you might have meant to type
Else
EndExperimentTempList.Run c
End If
On Tue, Aug 2, 2011 at 7:36 PM, KarisaP <karisaparkington at gmail.com> wrote:
> Hey all,
>
> I am having a hard time convincing eprime that it really does want to
> do the following script. I have used something that is pretty much
> identical in another experiment without any hiccups but for some
> reason eprime is getting upset with the following:
>
> If ManSun4.RESP = "y" Then
> MoonPracProc.Run c
> Elseif ManSun4.RESP = "n" Then
> FISTTempList.Run c
> Else ManSun4.RESP = "e" Then
> EndExperimentTempList.Run c
> End If
>
> I keep getting the following error message
>
> Encountered: Then
> Expecting: ':', end of line.
>
> Any idea what the problem is and how to fix it?
>
> --
> You received this message because you are subscribed to the Google Groups
> "E-Prime" group.
> To post to this group, send email to e-prime at googlegroups.com.
> To unsubscribe from this group, send email to
> e-prime+unsubscribe at googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/e-prime?hl=en.
>
>
--
You received this message because you are subscribed to the Google Groups "E-Prime" group.
To post to this group, send email to e-prime at googlegroups.com.
To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com.
For more options, visit this group at http://groups.google.com/group/e-prime?hl=en.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.linguistlist.org/pipermail/eprime/attachments/20110802/ba62b8de/attachment.htm>
More information about the Eprime
mailing list