If ... Then ... Else (problems) "former" Do ... Loop
ben robinson
baltimore.ben at gmail.com
Thu Jan 31 16:21:17 UTC 2008
trial timeline:
BeginningOfTrialLabel
Fixation
StimA
Mask
StimA'
Mask
Inline:
Select Case StimA'.RESP
Case 0 'no change - end this trial so we can start the next trial
Goto EndOfTrialLabel
Case 1 'change detected (correctly or incorrectly, doesn't matter) - ask
participant in which quadrant the change was detected
Goto LocalizationLabel 'this label is actually unnecessary, and i've
only included it for clarity
Case Else 'no response detected - keep flickering the same trial until a
response is detected
Goto BeginningOfTrialLabel
End Select
LocalizationLabel
LocalizationScreen - "In which quadrant did you note the change?"
EndOfTrialLabel
On Jan 30, 2008 7:53 PM, Peter Quain <pquain at une.edu.au> wrote:
>
> 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
> >
>
>
>
> 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
>
>
--~--~---------~--~----~------------~-------~--~----~
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/697f2cd8/attachment.htm>
More information about the Eprime
mailing list