If ... then ... I need help!
Leila
syn_idylle at hotmail.com
Wed May 7 18:03:30 UTC 2008
Thank you very much Ben.
I try this, but I'm not sure that I have completely understand. When I
start the experiment, a message of error appear, and say that it was
unable to defined the variable correctResp. I use the visual e-prime.
I create list, procedure and stimuli. I would apreciate to know by
what I should replace correctResp, trialCount, stimulus.acc and
label1. I'm very debutant.
You are very nice to help me.
Leila
On 7 mai, 12:49, "ben robinson" <baltimore.... at gmail.com> wrote:
> in your user script tab:Dim trialCount as Integer
> Dim correctResp as Integer
>
> then, in an inline immediately following each response (assuming here that
> the response was made to an object called "Stimulus"):
> trialCount = trialCount + 1
> If Stimulus.ACC = 1 Then
> correctResp = correctResp + 1
> End If
>
> then, in an inline immediately following the block of trials, calculate the
> accuracy:
> correctResp = correctResp/trialCount*100
> If correctResp <= 80 Then Goto Label1 '(you'll need to place Label1 before
> the start of your block of trials. this way, if accuracy <= 80% they will
> be looped back to the beginning of the block. otherwise, they will continue
> on to the next phase.)
>
> something along those lines should work. hope that helps.
>
> ben
>
>
>
> On Wed, May 7, 2008 at 12:05 PM, Leila <syn_idy... at hotmail.com> wrote:
>
> > Hi,
>
> > I program an experiment with e-prime for the first time. Supose that
> > in my experiment there are 3 blocs. I should use a syntaxe for when
> > someone has 80% of good answer and more in the second bloc, he goes to
> > the bloc 3 , but if he doesn't has more of 80% of good answer, he
> > should back to the bloc 1. Someone knows how I can do that?
>
> > Thank you very much, and sorry for my poor english
>
> > Leila- Masquer le texte des messages précédents -
>
> - Afficher le texte des messages précédents -
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---
More information about the Eprime
mailing list