<div dir="ltr">It worked! Thank you so much!!<br><br><br><br>On Thursday, March 20, 2014 2:36:03 AM UTC-7, JACanterbury wrote:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><div dir="ltr"><div><div><div>have you first declared the variable OverallAcc?<br><br></div>Stick something like ...<br><br><span style="font-family:courier new,monospace"><b>Dim OverallAcc As Summation</b></span><br><br></div>
on the User tab of the Script View and then rerun it<br><br></div>John<br></div><div><br><br><div class="gmail_quote">On 19 March 2014 17:10, JoAnn Silkes <span dir="ltr"><<a href="javascript:" target="_blank" gdf-obfuscated-mailto="tAZSTsJ_is8J" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">jsi...@uw.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Okay - I just figured out I should probably include more information.<br><br><br>The second InLine is labeled "Summation", and reads as follows:<br>
<br>OverallAcc.AddObservation c.GetAttrib ("ResponseScreen.ACC")<br><br>Debug.Print OverallAcc.Mean<br><br>c.SetAttrib "OverallAcc", OverallAcc.Mean<br><br><br>And the third, designed to turn the OverallAcc into a percentage, is:<br>
<br>c.SetAttrib "OverallAcc", OverallAcc.mean*100<br><br>Thanks for any insights.<br>JoAnn.<br><br><br><br>On Wednesday, March 19, 2014 9:41:36 AM UTC-7, JoAnn Silkes wrote:<blockquote class="gmail_quote" style="margin:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hi, Everyone -<br><br>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:<br>
<br>set OverallAcc = new summation<br><br>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?<br>
<br>Thanks for any help anyone can provide.<br><br>JoAnn.<br><br></div></blockquote></div><span><font color="#888888">

<p></p>

-- <br>
You received this message because you are subscribed to the Google Groups "E-Prime" group.<br>
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="tAZSTsJ_is8J" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">e-prime+u...@<wbr>googlegroups.com</a>.<br>
To post to this group, send email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="tAZSTsJ_is8J" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">e-p...@googlegroups.com</a>.<br>
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/e-prime/cf18fbd8-9ca3-4f51-beb6-763f8ee87f97%40googlegroups.com?utm_medium=email&utm_source=footer" target="_blank" onmousedown="this.href='https://groups.google.com/d/msgid/e-prime/cf18fbd8-9ca3-4f51-beb6-763f8ee87f97%40googlegroups.com?utm_medium\75email\46utm_source\75footer';return true;" onclick="this.href='https://groups.google.com/d/msgid/e-prime/cf18fbd8-9ca3-4f51-beb6-763f8ee87f97%40googlegroups.com?utm_medium\75email\46utm_source\75footer';return true;">https://groups.google.com/d/<wbr>msgid/e-prime/cf18fbd8-9ca3-<wbr>4f51-beb6-763f8ee87f97%<wbr>40googlegroups.com</a>.<br>

For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" onmousedown="this.href='https://groups.google.com/d/optout';return true;" onclick="this.href='https://groups.google.com/d/optout';return true;">https://groups.google.com/d/<wbr>optout</a>.<br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br><font color="#888888">-------<br>John<br>John@JohnAllen.IT<br></font>
</div>
</blockquote></div>

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups "E-Prime" group.<br />
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:e-prime+unsubscribe@googlegroups.com">e-prime+unsubscribe@googlegroups.com</a>.<br />
To post to this group, send email to <a href="mailto:e-prime@googlegroups.com">e-prime@googlegroups.com</a>.<br />
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/e-prime/689d7e63-cd27-41e0-ac27-553d35cd1a51%40googlegroups.com?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/e-prime/689d7e63-cd27-41e0-ac27-553d35cd1a51%40googlegroups.com</a>.<br />
For more options, visit <a href="https://groups.google.com/d/optout">https://groups.google.com/d/optout</a>.<br />