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

st: local macros & saving in directory

From   "Daniel Muller" <>
To   "Statalist" <>
Subject   st: local macros & saving in directory
Date   Thu, 27 Jun 2002 12:21:25 +0700

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

Where is my mistake? Why does Stata strip off the slash before `var'?

Many thanks in advance, best wishes,

*   For searches and help try:

© Copyright 1996–2017 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index