| From | "Nick Cox" <[email protected]> |
| To | <[email protected]> |
| Subject | RE: st: RE: Automating a batch of -insheet- and -save- in a do-file |
| Date | Fri, 16 Dec 2005 15:32:49 -0000 |
Quite so. Thanks for the code fix,
Nick
[email protected]
b. water
> Thank you Nick, it works (with a small addition of " after save).
Nick Cox
> >forval i = 1/87 {
> > insheet using filename`i'.txt, clear
> > save c:\DATA\filename`i'.dta", replace
> >}
*
* 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–2025 StataCorp LLC | Terms of use | Privacy | Contact us | What's new | Site index |