<br><br><div class="gmail_quote">On Mon, Jan 9, 2012 at 3:47 PM, liwenna <span dir="ltr"><<a href="mailto:liwenna@gmail.com">liwenna@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Hi Doron,<br>
<br>
That sounds really weird indeed.<br>
<br>
What are the conditions presented under the "If then" lines that<br>
precede the elseif then line that you presented us with? If one of<br>
those happens to be met, than the line that you're testing now will<br>
not be executed. In a similar veign: are you absolutely positive that<br>
all trials have the trialtype set to FaceTarget, with no typoes etc?<br>
You probably have, but this is the only one thing that I can think of<br>
right away that you did not yet disconfirm in your post.<br>
<br>
If none of those than I might advice you to have the actual script<br>
program at by one of your colleaguesm me or someone else from here.<br>
<br>
Best,<br>
<br>
liw<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
<br>
On 8 jan, 10:34, doron arbiv <<a href="mailto:doronar...@gmail.com">doronar...@gmail.com</a>> wrote:<br>
> hello,<br>
><br>
> i have a target slide,1000 mls in duration and has a 3000 mls time<br>
> limit. the target slide is followed by a blank slide, 2000 mls in<br>
> duration, which doesn't collect any response. after the blank slide i<br>
> have a short script which says the following:<br>
> elseif c.getattrib("TrialType")="FaceTarget" then<br>
> if c.getattrib("Target.ACC")=0 then FaceError=FaceError+1<br>
><br>
> i present only two lines from the script, since i am only testing the<br>
> "FaceTarget" trial type for now.<br>
> in my test i intentionally make errors, so that the FaceError variable<br>
> will reach 20 (there are 20 trials in a block).<br>
> the problem is that while "Target.ACC" always shows a "0" value in<br>
> the edata output file, the FaceError variable sometime fails to add<br>
> "1" to itself, as it should when "Target.ACC"=0. this happens<br>
> approximately twice in each block of 20 trials and i have no idea why<br>
> it happens.<br>
><br>
> i have some guesses. one is that maybe "Traget.ACC" is unavailable to<br>
> the script following the Blank slide, so that when the condition:<br>
> " if c.getattrib("Target.ACC")=0 then FaceError=FaceError+1 " appears,<br>
> the "Target.ACC" attribute isn't ready for comparison.<br>
> Can you please help me with this bizarre bug?<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>
</div></div></blockquote></div><br>dear user,<br>it is global variable error<br>use global variable your problems will be resolved. <br clear="all"><br>-- <br>Regards,<br>Ravindra kumar<br>Ravindra Softwares<br>204 gurunanak nagar naini allahabad<br>
211008<br>Uttar Pradesh INDIA<br><br>
<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 />