If ... Then ... Else (problems) "former" Do ... Loop

Peter Quain pquain at une.edu.au
Thu Jan 31 00:53:52 UTC 2008


>
>I'm using as yours advice an If 
 Then Statement 
>and I add an Else (like this):
>
>
>
>If RealStimulus.ACC Or AlterStimulus.ACC = 0 Then
>
>             Goto Label1
>
>Else
>
>             Goto Label2
>
>End If


for a start, I think the 'Or' syntax should be 
... If RealStim.ACC = 0 Or Alter.Stim.ACC = 0 Then ...

But, shouldn't you test the RESPONSE (1 or 0) 
against the stimuli match condition (same or different)?
maybe something like this...

         If Object.RESP = 1 And Condition = 'same' Then
                 GoTo Label1
         ElseIf Object.RESP = 0 And Condition = 'same' Then
                 GoTo Label2
         ElseIf Object.RESP = 0 And Condition = 'different' Then
                 GoTo Label1
         ElseIf Object.RESP = 1 And Condition = 'different' Then
                 GoTo Label1
         End If 
--~--~---------~--~----~------------~-------~--~----~
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/20080131/7b814e0a/attachment.htm>
-------------- next part --------------


No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.516 / Virus Database: 269.19.15/1249 - Release Date: 29/01/2008 9:51 AM


More information about the Eprime mailing list