forvalues i=1(1)2926 {
local j=`i'+1
reg lnq lnp if repcom>=`i' & repcom<`j'
outreg2 using "D:\1.xls"
}
如题,上面是我写的循环语句,其中repcom取值范围为1-2926,每一个repcom的取值对应着至少10个观测值,现在我想以repcom的取值来分类回归lnq和lnp,运行到一半出现了红字“file handle __00000G not found”,究竟是哪里出了问题?