<p>Hi All,<br>
Thank you.I did all you described but somehow I could not call from another function. I am running infant subjects. So it is not a case for me to complete the task 60% of the time. Therefore, I wanna count the max number of trials. If it is more than 60%  I wanna increase the subject number. I followed instructions but  increment did not work.<br>

Thanks<br>
Meltem</p>
<div class="gmail_quote">On Oct 13, 2011 7:02 AM, "liwenna" <<a href="mailto:liwenna@gmail.com">liwenna@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Not sure if this is what you're looking for (if I remember correctly<br>
the e-primer is quite clear on this one) but you did add an inline<br>
that increments the value assigned to totaltrial on each trial? I.e.<br>
an inline on the proc reading:<br>
<br>
totaltrial = totaltrial +1<br>
(followed by another line to log it onto the attribute trialcount: c.<br>
SetAttrib "TrialCount", totalTrial)  ?<br>
<br>
On Oct 12, 7:02 pm, Meltem BALLAN <<a href="mailto:meltembal...@gmail.com">meltembal...@gmail.com</a>> wrote:<br>
> Mich,<br>
> No worries. I was looking to find a source. I used the explanation in the<br>
> E-PRIME documentation but did not work. I read the E-PRIMER. It must be<br>
> something I am missing within the lines.<br>
> Thanks<br>
> Meltem<br>
><br>
> On Wed, Oct 12, 2011 at 12:49 PM, Michiel Spape <<br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
> <a href="mailto:Michiel.Sp...@nottingham.ac.uk">Michiel.Sp...@nottingham.ac.uk</a>> wrote:<br>
> > Hi Meltem,****<br>
><br>
> > Not to sound sour, but these are quite elementary questions for which I<br>
> > think you might really want to do a quick walk through some tutorials. For<br>
> > example, our very ownhttp://<a href="http://step.psy.cmu.edu/materials/EPrimer.pdfhas" target="_blank">step.psy.cmu.edu/materials/EPrimer.pdfhas</a> an<br>
> > almost exact answer to what you seem to be looking for, in one of the two<br>
> > last chapters. Also, the quick start is a very useful way to begin. I think,<br>
> > with some additional information (such as what do you mean by Stimulus<br>
> > count?), anybody could answer your question, but you’d really be doing<br>
> > yourself a favour to take two days to learn how to use the software. Sorry<br>
> > to be not of more use.****<br>
><br>
> > ** **<br>
><br>
> > Best,****<br>
><br>
> > Mich****<br>
><br>
> > ** **<br>
><br>
> > *Michiel Spapé*<br>
><br>
> > *Research Fellow*<br>
><br>
> > *Perception & Action group*<br>
><br>
> > *University of Nottingham*<br>
><br>
> > *School of Psychology*<br>
><br>
> > *<a href="http://www.cognitology.eu" target="_blank">www.cognitology.eu</a>***<br>
><br>
> > ** **<br>
><br>
> > *From:* <a href="mailto:e-prime@googlegroups.com">e-prime@googlegroups.com</a> [mailto:<a href="mailto:e-prime@googlegroups.com">e-prime@googlegroups.com</a>] *On<br>
> > Behalf Of *Meltem BALLAN<br>
> > *Sent:* 12 October 2011 17:42<br>
> > *To:* <a href="mailto:e-prime@googlegroups.com">e-prime@googlegroups.com</a><br>
> > *Subject:* incrementing the trial count****<br>
><br>
> > ** **<br>
><br>
> > Hi All,<br>
> > I have a question that I cannot figure out by myself. I am trying to add a<br>
> > counter in my task which is counting the total number of trials during the<br>
> > task. I defined a global variable as totalTrial (in User Script) and<br>
> > assigned it as TrialCount (c. SetAttrib "TrialCount", totalTrial). My<br>
> > dillemma is how I can integrate TrialCount with my Stimulus count.<br>
> > I tried as Trial=TrialCount but it did not work.<br>
> > Any idea?<br>
> > Thanks<br>
> > Meltem<br>
><br>
> > --<br>
> > Meltem Ballan, PhD<br>
> > Department of Psychiatry, CB# 7160<br>
> > University of North Carolina School of Medicine<br>
> > 7023 Neurosciences Hospital<br>
> > Chapel Hill, NC 27599-7160****<br>
><br>
> > --<br>
> > You received this message because you are subscribed to the Google Groups<br>
> > "E-Prime" group.<br>
> > To post to this group, send email to <a href="mailto:e-prime@googlegroups.com">e-prime@googlegroups.com</a>.<br>
> > To unsubscribe from this group, send email to<br>
> > <a href="mailto:e-prime%2Bunsubscribe@googlegroups.com">e-prime+unsubscribe@googlegroups.com</a>.<br>
> > For more options, visit this group at<br>
> ><a href="http://groups.google.com/group/e-prime?hl=en.****" target="_blank">http://groups.google.com/group/e-prime?hl=en.****</a><br>
><br>
> >  This message and any attachment are intended solely for the addressee and<br>
> > may contain confidential information. If you have received this message in<br>
> > error, please send it back to me, and immediately delete it. Please do not<br>
> > use, copy or disclose the information contained in this message or in any<br>
> > attachment. Any views or opinions expressed by the author of this email do<br>
> > not necessarily reflect the views of the University of Nottingham.<br>
><br>
> > This message has been checked for viruses but the contents of an attachment<br>
> > may still contain software viruses which could damage your computer system:<br>
> > you are advised to perform your own checks. Email communications with the<br>
> > University of Nottingham may be monitored as permitted by UK legislation.<br>
><br>
> > --<br>
> > You received this message because you are subscribed to the Google Groups<br>
> > "E-Prime" group.<br>
> > To post to this group, send email to <a href="mailto:e-prime@googlegroups.com">e-prime@googlegroups.com</a>.<br>
> > To unsubscribe from this group, send email to<br>
> > <a href="mailto:e-prime%2Bunsubscribe@googlegroups.com">e-prime+unsubscribe@googlegroups.com</a>.<br>
> > For more options, visit this group at<br>
> ><a href="http://groups.google.com/group/e-prime?hl=en" target="_blank">http://groups.google.com/group/e-prime?hl=en</a>.<br>
><br>
> --<br>
> Meltem Ballan, PhD<br>
> Department of Psychiatry, CB# 7160<br>
> University of North Carolina School of Medicine<br>
> 7023 Neurosciences Hospital<br>
> Chapel Hill, NC 27599-7160<br>
<br>
--<br>
You received this message because you are subscribed to the Google Groups "E-Prime" group.<br>
To post to this group, send email to <a href="mailto:e-prime@googlegroups.com">e-prime@googlegroups.com</a>.<br>
To unsubscribe from this group, send email to <a href="mailto:e-prime%2Bunsubscribe@googlegroups.com">e-prime+unsubscribe@googlegroups.com</a>.<br>
For more options, visit this group at <a href="http://groups.google.com/group/e-prime?hl=en" target="_blank">http://groups.google.com/group/e-prime?hl=en</a>.<br>
<br>
</blockquote></div>

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups "E-Prime" group.<br />
To post to this group, send email to e-prime@googlegroups.com.<br />
To unsubscribe from this group, send email to e-prime+unsubscribe@googlegroups.com.<br />

For more options, visit this group at http://groups.google.com/group/e-prime?hl=en.<br />