"Variable not defined"
JoAnn Silkes
jsilkes at uw.edu
Wed Mar 19 17:10:53 UTC 2014
Okay - I just figured out I should probably include more information.
The second InLine is labeled "Summation", and reads as follows:
OverallAcc.AddObservation c.GetAttrib ("ResponseScreen.ACC")
Debug.Print OverallAcc.Mean
c.SetAttrib "OverallAcc", OverallAcc.Mean
And the third, designed to turn the OverallAcc into a percentage, is:
c.SetAttrib "OverallAcc", OverallAcc.mean*100
Thanks for any insights.
JoAnn.
On Wednesday, March 19, 2014 9:41:36 AM UTC-7, JoAnn Silkes wrote:
>
> Hi, Everyone -
>
> I don't do much actual programming (i.e., writing code) in EPrime, but am
> now trying to rebuild some protocols that I put together a few years ago
> and have hit a glitch.My protocol includes three short InLine scripts,
> designed to allow it to keep a running tally of response accuracy. The very
> first one is:
>
> set OverallAcc = new summation
>
> This InLine script is identical to the one in the protocol I'm copying
> but, when I try to generate the script, I get the error message "Variable
> not defined" for this line. I thought I'd copied the entire protocol
> verbatim from the ones we've been using already, but apparently I missed
> something. Where (and how) should I be defining these variables?
>
> Thanks for any help anyone can provide.
>
> JoAnn.
>
>
--
You received this message because you are subscribed to the Google Groups "E-Prime" group.
To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com.
To post to this group, send email to e-prime at googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/cf18fbd8-9ca3-4f51-beb6-763f8ee87f97%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.linguistlist.org/pipermail/eprime/attachments/20140319/1497f23d/attachment.htm>
More information about the Eprime
mailing list