I coded:
----
version 7
local var "somevar"
... code in terms of `var'
out `var's using "d:\stata\export\`var's.asc", runtogether replace
----
However, the file is saved in dir <d:\stata> under the name
<export`var's.asc>, not as I expected in dir <d:\stata\export> as
<somevars.asc>.
Where is my mistake? Why does Stata strip off the slash before `var'?
Many thanks in advance, best wishes,
Daniel
*
* 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/