Quantcast
Channel: Statalist
Viewing all articles
Browse latest Browse all 73243

How to list all locals and store them in a macro?

$
0
0
Stata can store all globals in a macro via "local globals: all globals"

It can also print all globals and locals via "macro dir" (locals are globals that start with "_").

However, I am struggling to find a way it can list all locals and store them in a variable, similar to ":all globals" (":all locals" and ':all globals "_*"' did not work).

Viewing all articles
Browse latest Browse all 73243

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>