Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | James Sams <sams.james@gmail.com> |
To | statalist@hsphsun2.harvard.edu |
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/