Here is my code as shown below, when I run it, it always report error "( invalid name". Somebody please help me with this.

tempname myresults
postfile `myresults' threshold intercept gradient se using myresults.dta

forval x=1(1)65{
capture noisily xi:regress lnSale lnYearlyIndOut fyear if mi==`x',robust
post `myresults' (`x') (`=_b[_cons]') (`=_b[lnYearlyIndOut]') (`=_se[lnYearlyIndOut]')
}