You could use the macro extended function:
{local | global} macname : all {globals|scalars|matrices} ["pattern"]
For example:
global a "2343"
global b "sdf"
global c:all globals
macro list c
Scott
----- Original Message -----
From: Fred Wolfe <[email protected]>
Date: Thursday, March 1, 2007 6:56 am
Subject: st: macro list
To: [email protected]
> macro list or macro dir produces a list of global macros and their
> contents. Does anyone know a way to get a list of the global
> macros
> without their contents?
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/