[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
RE: st: Appending several files
Thanks Ulrich!
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Ulrich Kohler
Sent: 14 October 2006 13:13
To: [email protected]
Subject: Re: st: Appending several files
On Saturday 14 October 2006 13:42, Nuno Soares wrote:
> foreach f in `r(files)' {
> append using `f'
> }
. fs *.dta
. local firstfile: word 1 of `r(files)'
. use `firstfile', clear
. foreach f in `r(files)' {
. if "`f'" ~= "`firstfile'" append using `f'
. }
--
[email protected]
+49 (0)30 25491-361
*
* 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/
*
* 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/