"Variable not defined"

JoAnn Silkes jsilkes at uw.edu
Thu Mar 20 14:45:47 UTC 2014


It worked! Thank you so much!!



On Thursday, March 20, 2014 2:36:03 AM UTC-7, JACanterbury wrote:
>
> have you first declared the variable OverallAcc?
>
> Stick something like ...
>
> *Dim OverallAcc As Summation*
>
> on the User tab of the Script View and then rerun it
>
> John
>
>
> On 19 March 2014 17:10, JoAnn Silkes <jsi... at uw.edu <javascript:>> wrote:
>
>> 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+u... at googlegroups.com <javascript:>.
>> To post to this group, send email to e-p... at googlegroups.com<javascript:>
>> .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/e-prime/cf18fbd8-9ca3-4f51-beb6-763f8ee87f97%40googlegroups.com<https://groups.google.com/d/msgid/e-prime/cf18fbd8-9ca3-4f51-beb6-763f8ee87f97%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> -------
> John
> John at JohnAllen.IT
>  

-- 
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/689d7e63-cd27-41e0-ac27-553d35cd1a51%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/20140320/e94f650b/attachment.htm>


More information about the Eprime mailing list