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

st: RE: concatenating macros

From   "Wallace, John" <[email protected]>
To   "'[email protected]'" <[email protected]>
Subject   st: RE: concatenating macros
Date   Wed, 10 Nov 2004 11:22:01 -0800

Sorry, the change in macro longname construction should have read:
.local longname "`pathvar'`filename'"

Note the quotes around the concatenation.


-----Original Message-----

The problem is that the final \ gets dropped from the path.

.di "`pathvar'"

Oddly, the initial macro seems to store this correctly

Changing the longname macro construction to...
.local longname `pathvar'`filename'
.di "`longname'"
F:\CELS35051403 effect
*   For searches and help try:

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