Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

RE: st: Re: help with inputst


From   Ricardo Ovaldia <[email protected]>
To   [email protected]
Subject   RE: st: Re: help with inputst
Date   Thu, 20 Dec 2007 11:28:40 -0800 (PST)

Thank you Nick. I simply changed the last / to \ and
that work perfectly.

Ricardo.

--- Nick Cox <[email protected]> wrote:

> As documented in the manual and often reported on
> this list, the
> backslash 
> has a double role here, in its Windows role as a
> separator and in its 
> Stata role as an escape character. To avoid
> confusion, use / not \.
> Stata will negotiate with Windows. 
> 
> Nick 
> [email protected] 
> 
> Ricardo Ovaldia
> 
> Thank you Roger. That still did not work.
> 
> . clear
> 
> . #delim ;
> delimiter now ;
> .    local files "MRecord-I-080907 MRecord-I-013107
> MRecord-I-020807 MRecord-I-021507 MRe
> > cord-I-030807
> >                  MRecord-I-031507";
> 
> .         #delim cr
> delimiter now cr
> . 
> 
> .         foreach fname in `files' {
>   2.                 inputst
> "C:\statawrk\MAPMISS\`fname'.txt"
>   3.                 save `fname'.dta, replace
>   4.         }
> Stat/Transfer did not run successfully
> file not found
> r(601);
> 
> end of do-file
> 
> 
> *
> *   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/
> 


Ricardo Ovaldia, MS
Statistician 
Oklahoma City, OK


      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 

*
*   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