Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: use of local in variable name
From
James Sams <[email protected]>
To
[email protected]
Subject
Re: st: use of local in variable name
Date
Mon, 19 Sep 2011 10:06:09 -0500
> local x offers[c]
I believe this is the offending line. I think that variable index lookup
requires evaluation, therefore needing an equals sign to force that evaluation.
Change to "local x = offers[c]" and see if that works.
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/