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

st: Re: sequential file conversion possible ?


From   "Katsuhide Isa" <[email protected]>
To   [email protected]
Subject   st: Re: sequential file conversion possible ?
Date   Sat, 09 Apr 2005 21:30:11 +0900

David and Steve,

Thank you for your replys.

Though stcmd has already been installed in my Stata, I never
tried such a convenient tool.
# Actually, I completely forgot it :-).

>forvalues y=1983/2004 {
>	stcmd mat`y'.xls mat`y'.dta
>}

> or from within Stata with stcmd:
> 
>          stcmd mat*.xls *.dta.

Both of the methods above worked all right.
It surely saves a lot of trouble in file conversions.

Thanks again !

K.I.
*
*   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