IF ... AND ... THEN ...

David McFarlane mcfarla9 at msu.edu
Tue Nov 12 14:57:51 UTC 2013


Naomi,

Well, the code that I gave you compiles without error for me, I 
cannot imagine what you are doing differently.

-- David McFarlane


At 11/12/2013 01:49 AM Tuesday, vanlessen.naomi at gmail.com wrote:
>Thank you!
>
>However, this is also not working, giving me the same error message...
>
>
>
>On Monday, November 11, 2013 9:03:06 PM UTC+1, vanless... at gmail.com wrote:
>Dear all,
>
>I need to write an inline stating:
>
>If Stimulus1.RESP = 5 AND if Stimulus2.RESP is (none), THEN (write 
>trigger to port), but I keep on getting error messages that after 
>'If Stimulus1.RESP = 5' it expects ', then', instaed of taking the 
>second part (AND if Stimulus2.RESP is (none)) into consideration.
>
>If (CentralS.RESP = "5" & Distractor.RESP = " "),
>then WritePort &H378, 5
>sleep 2
>WritePort &H378, 0
>
>Can anyone tell me what I'm doing wrong here?
>
>Thank you!
>
>Best,
>Naomi

-- 
You received this message because you are subscribed to the Google Groups "E-Prime" group.
To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com.
To post to this group, send email to e-prime at googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/528241f7.c819320a.3bc4.ffffbb6eSMTPIN_ADDED_MISSING%40gmr-mx.google.com.
For more options, visit https://groups.google.com/groups/opt_out.



More information about the Eprime mailing list