Hi all,
This is regarding a problem related to a local variable defined
outside a do file. Following is the code:
foreach x in a b c d {
do dummy.do
save, replace
}
The dummy file uses the local variable x in its calculations and as
you can see it is defined outside the do file. The Stata gives an
error on this.
So, please tell me what can be done in this case.
Thanks and regards,
OM
*
* 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/