Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: RE: Re: RE: Re: RE: Multiple commands under "By varlist"?


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   st: RE: RE: Re: RE: Re: RE: Multiple commands under "By varlist"?
Date   Sat, 26 Jun 2004 16:09:27 +0100

Spot my typo. <= 1000. 

Nick 
[email protected] 
 
> local i = 1 
> while `i' < 1000 { 
> 	...
> 	local i = `i' + 1 
> } 
> 
> rather than (say) 
> 
> forval i = 1/1000 { 
> 	...
> }
> 

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index