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

st: RE: RE: RE: RE: RE: concatenating macros


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   st: RE: RE: RE: RE: RE: concatenating macros
Date   Wed, 10 Nov 2004 22:28:52 -0000

No; nothing in here except the precise 
manual reference hinges on the difference
between Stata 7 and Stata 8. The overloading 
of \ as a DOS/Windows file separator and as 
an escape character is a very old problem. 

Nick 
[email protected] 

Wallace, John
 
> Thanks Dan and Nick.  With Dan's suggestion the code runs perfectly.
> Perhaps it's a V7 vs V8 difference, but the documentation is at [U]
> 21.3.9 in my books.  I should probably invest in a new set anyway.
 
Nick Cox
 
> The issue is documented at [U] 21.3.10. 
 
> Dan Menes
> > 
> > I find backslashes in path names cause no end of trouble in 
> > Stata.  Whenever dealing with filenames, my first action is always
> > 
> > local pathvar: subinstr local pathvar "\\" "/", all
> > 
> > The problem is backslashes can have special meanings when 
> > Stata tries to parse the line--they don't always get read as 
> > literal backslashes.  In particular, I suspect in your 
> > example the backslash is getting read as a modifier on the 
> > quotation mark.
  

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