Feedback and inline script

Susan Campbell susangc7 at gmail.com
Thu Nov 8 15:58:57 UTC 2012


Not to be a wise-ass, but did you try adding another End If at the end? 

(I don't know that your code does what you want it to, but this is a simple 
fix so you can keep troubleshooting.)

HTH,
Susan

On Thursday, November 8, 2012 10:53:18 AM UTC-5, pure-... at hotmail.co.uk 
wrote:
>
> Hi All 
>
> I have managed to receive some feedback for positive groups. However 
> when I ran the experiment all the responses excluding negative 
> responses were positive. I would like to script both negative and no 
> response as blank and had managed to do only the negative. 
> My script is as follows but now e-prime comes up with an error stating 
> encountered: end of line 
> Expecting: End if. 
>
> My script: 
>
> Dim CorrectAnswer as String 
> Dim IncorrectAnswer as String 
> Dim NoResponse as string 
>
> If "TrialStimulus"="sd" then 
>     CorrectAnswer= "Correct" 
>
> Else if "TrialStimulus"="sd" then 
>         InCorrectAnswer= "Blank.bmp" 
>
> Else 
>     NoResponse= "Blank.bmp" 
>         End if 
>
>
> I would like to know what the problem is and how I can fix it as there 
> seems to not be working at all now. 
>
> Thank you 
>

-- 
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.
To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/4Gw-T1TXB5gJ.
For more options, visit https://groups.google.com/groups/opt_out.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.linguistlist.org/pipermail/eprime/attachments/20121108/9eca10f7/attachment.htm>


More information about the Eprime mailing list