[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
RE: st: How to make macro variables last an entire session?
Don't do that, then!
More seriously, you are violating the
syntax of -regress-, or more generally of
what counts as a varlist. Simply, the " "
are not allowed in a varlist. Your
command should be just
> Thanks! For some reason, when I put quotation marks around
> $base I get the error message
> "var1 var2 var3 var4 invalid name
> But when I put nothing around $base, everything works fine.
> And this holds if I use multiple global macros. For example,
> the following works:
> tabstat $base $ace $case, by(person) stats(n mean median cv)
Philipp Rehm <Philipp.Rehm@gmx.de>
> - -global- may be what you are looking for. See "help global"
> global base "lncgdp s n popuned popprimed popseced pophighed openc"
> regress "$base"
* For searches and help try: