Hello,
Is there a way to "close quote" a global macro? I'm trying to create a global macro filepath, but not being able to distinguish where the path ends and the filename begins, makes stata think the entire thing is the global. There must be a simple solution to this, but I haven't been able to find it. Thanks in advance for any help.
Example:
whereas if local, it's clear:
Thanks Statalist!
-Reese
p.s. I'm using version 14
Is there a way to "close quote" a global macro? I'm trying to create a global macro filepath, but not being able to distinguish where the path ends and the filename begins, makes stata think the entire thing is the global. There must be a simple solution to this, but I haven't been able to find it. Thanks in advance for any help.
Example:
Code:
global path I:\datasets\good_data\ use $pathdataset.dta
Code:
use `path'dataset.dta
-Reese
p.s. I'm using version 14
Comment